Jani Tiainen
|
044cc54420
|
Fixed #30259 -- Added support for admin_order_field attribute on properties in ModelAdmin.list_display.
|
2019-03-24 20:43:56 +01:00 |
|
Etienne Chové
|
4dcbe6eb2d
|
Fixed #30221 -- Made label suffix of admin's read-only fields translatable.
|
2019-02-28 11:12:30 -05:00 |
|
Arthur Rio
|
181fb60159
|
Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
|
2019-01-16 10:07:28 -05:00 |
|
Tim Graham
|
0004daa536
|
Used 4 space hanging indent for dictionaries.
Thanks Mariusz Felisiak for auditing.
|
2019-01-02 18:18:19 -05:00 |
|
Tim Graham
|
02c07be95c
|
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.
|
2019-01-01 09:42:14 -05:00 |
|
Carlton Gibson
|
8245c99ee6
|
Fixed #29930 -- Allowed editing in admin with view-only inlines.
Co-authored-by: Tim Graham <timograham@gmail.com>
|
2018-12-03 07:44:18 -08:00 |
|
Basil Dubyk
|
7d1123e5ad
|
Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
|
2018-11-28 15:40:14 -05:00 |
|
Simon Charette
|
7f63b894c0
|
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
|
2018-11-27 09:48:22 -05:00 |
|
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05:00 |
|
Tim Graham
|
405ec5b9c6
|
Fixed typo in tests/admin_views/tests.py.
|
2018-11-16 15:09:22 -05:00 |
|
Sergey Fedoseev
|
747db4018b
|
Simplified AdminFieldExtractionMixin.get_admin_form_fields().
|
2018-09-25 11:06:41 -04:00 |
|
Tim Graham
|
d311124be5
|
Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
|
2018-08-20 11:14:20 -04:00 |
|
Jon Dufresne
|
09ee3b6fe3
|
Fixed #29663 -- Made admin change view redirect to changelist with view permission.
|
2018-08-17 11:13:06 -04:00 |
|
Jon Dufresne
|
f5e7506cff
|
Refs #27804 -- Used subTest in AdminViewPermissionsTest.
|
2018-08-12 21:27:19 -04:00 |
|
luz.paz
|
97e637a87f
|
Fixed typos in comments and docs.
|
2018-08-01 16:09:22 -04:00 |
|
Tim Graham
|
5d98d53fab
|
Refs #27398 -- Simplified some tests with assertRedirects().
|
2018-06-20 14:08:56 -04:00 |
|
Paulo
|
553617e613
|
Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
Thanks Matthew Frazier for the report and fix.
|
2018-06-15 21:54:22 -04:00 |
|
Ramiro Morales
|
f40e71a957
|
Fixed #29417 -- Corrected two admin page titles for view-only users.
|
2018-05-23 11:02:37 -04:00 |
|
olivierdalang
|
825f0beda8
|
Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
|
2018-05-16 06:44:55 -04:00 |
|
Tim Graham
|
49a1736c2e
|
Added assertion for admin change form's "save and continue editing" message.
|
2018-05-15 20:17:02 -04:00 |
|
Claude Paroz
|
607970f31c
|
Replaced django.test.utils.patch_logger() with assertLogs().
Thanks Tim Graham for the review.
|
2018-05-07 09:34:00 -04:00 |
|
Faheel Ahmad
|
5d4d62bf4f
|
Fixed #29248 -- Renamed admin CSS class field-box to fieldBox.
|
2018-04-05 10:55:36 -04:00 |
|
Josh Schneier
|
b60e5fdbb7
|
Fixed #28959 -- Fixed 'No, take me back' button on admin's inline popup.
|
2018-03-15 20:47:18 -04:00 |
|
Becky Smith
|
8116e588db
|
Fixed #17962 -- Added ModelAdmin.get_deleted_objects().
|
2018-02-24 20:41:43 -05:00 |
|
a8568730
|
ba37ee9ef8
|
Fixed #28635 -- Fixed admin's preserved filters if the URL contains non-ASCII characters.
|
2018-02-23 15:40:11 -05:00 |
|
Andreas Pelme
|
e307ff29d2
|
Fixed #27810 -- Allowed query expressions in admin_order_field.
|
2018-02-15 21:00:31 -05:00 |
|
Alexander Gaevsky
|
ef2512b2ff
|
Fixed #25790 -- Allowed disable column sorting in the admin changelist.
Thanks Ramiro Morales for completing the patch.
|
2018-02-07 17:46:28 -05:00 |
|
Tim Graham
|
fa75b2cb51
|
Refs #27795 -- Removed force_bytes/text() usage in tests.
|
2018-02-07 14:20:04 -05:00 |
|
Jon Dufresne
|
7d607127e3
|
Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries.
|
2018-01-23 10:30:10 -05:00 |
|
Jon Dufresne
|
ff05de760c
|
Fixed #29038 -- Removed closing slash from HTML void tags.
|
2018-01-21 02:09:10 -05:00 |
|
Paulo
|
d1286a8a68
|
Fixed #28517 -- Fixed admin delete confirmation view crash when related models don't have a delete permission.
|
2018-01-04 19:07:46 -05:00 |
|
Tim Graham
|
7664fe2759
|
Refs #28871 -- Fixed admin_views selenium test failure.
|
2017-12-02 09:54:31 -05:00 |
|
Claude Paroz
|
0cf00769ad
|
Fixed #28585 -- Calculated admin's change form multipart context variable from forms and formsets
Thanks Tim Graham for the review.
|
2017-11-07 19:06:32 -05:00 |
|
Tim Graham
|
8b9a163afa
|
Refs #28688 -- Updated a selenium test for admin's URLify.js change.
English words aren't removed if non-ASCII chars are present.
|
2017-10-24 11:03:36 -04:00 |
|
Tim Graham
|
48d57788ee
|
Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.
|
2017-09-22 12:51:18 -04:00 |
|
Johannes Hoppe
|
94cd8efc50
|
Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
|
2017-09-18 13:48:02 -04:00 |
|
Tim Graham
|
7d52de31af
|
Moved admin's action view tests to a separate file.
|
2017-06-19 16:00:06 -04:00 |
|
Lincoln Smith
|
15b465c584
|
Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.
|
2017-06-14 13:07:06 -04:00 |
|
Collin Anderson
|
7c9cb1ed37
|
Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests.
|
2017-06-09 13:28:50 -04:00 |
|
Paulo
|
b7f99f84bc
|
Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
|
2017-06-05 10:29:54 -04:00 |
|
Tim Graham
|
0841a31baf
|
Fixed admin_views IntegrityError test failure.
Regression in 38a5a23c32 .
|
2017-06-02 14:59:01 -04:00 |
|
Tim Graham
|
38a5a23c32
|
Fixed admin_views test when run in reverse.
Modifying self.s1 created in setUpTestData() leaked state.
Regression in 45585d3cbb .
|
2017-06-02 13:35:03 -04:00 |
|
Tim Graham
|
45585d3cbb
|
Removed pk hardcoding in admin_views tests.
|
2017-06-02 10:01:41 -04:00 |
|
Tim Graham
|
6b4f018b2b
|
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
|
2017-03-17 07:51:48 -04:00 |
|
Anton Samarchyan
|
e88d2dfcf4
|
Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy.
|
2017-03-06 12:01:31 -05:00 |
|
Jon Dufresne
|
0d74c41981
|
Replaced dict() usage with dict literals.
Literals are faster and more idiomatic.
|
2017-01-23 19:13:49 -05:00 |
|
Tim Graham
|
4e729feaa6
|
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
|
2017-01-20 08:01:02 -05:00 |
|
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
|
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
|
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
|