Marco Richetta
|
e92971ccb0
|
Removed unnecessary check in BaseModelAdmin.get_view_on_site_url().
|
2020-10-13 06:28:14 +02:00 |
Jon Dufresne
|
84609b3205
|
Fixed #31993 -- Added subtitles to admin change/view pages.
|
2020-09-11 06:28:45 +02:00 |
David Smith
|
e74b3d724e
|
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
|
2020-07-30 10:58:59 +02:00 |
Alix
|
26a413507a
|
Fixed #6933 -- Added support for searching against quoted phrases in ModelAdmin.search_fields.
|
2020-06-18 20:17:20 +02:00 |
Jon Dufresne
|
81ffedaacc
|
Fixed #31524 -- Removed minified static assets from the admin.
|
2020-05-14 16:07:56 +02:00 |
Mariusz Felisiak
|
0668164b4a
|
Fixed E128, E741 flake8 warnings.
|
2020-05-12 08:52:23 +02:00 |
hashlash
|
dfbd9ca065
|
Fixed #30311 -- Restored ability to override global admin actions.
|
2020-04-17 20:23:00 +02:00 |
007
|
d51c50d836
|
Fixed #31462 -- Allowed overriding autocomplete/raw_id_fields/filter widgets for ManyToManyFields with formfield_overrides.
|
2020-04-15 08:33:40 +02:00 |
Nick Pope
|
335c9c94ac
|
Simplified imports from django.db and django.contrib.gis.db.
|
2020-02-04 13:20:06 +01:00 |
Daniel Hahler
|
68e018010b
|
Optimized ModelAdmin._changeform_view() by avoiding multiple get_fieldsets() calls.
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
|
2020-01-17 16:00:04 +01:00 |
Carlton Gibson
|
11c5e0609b
|
Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
Thank you to Shen Ying for reporting this issue.
|
2019-12-02 08:56:08 +01:00 |
Baptiste Mispelon
|
52936eface
|
Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
Regression in b18650a263 .
|
2019-11-26 08:48:10 +01:00 |
Jon Dufresne
|
42b9a23267
|
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
|
2019-06-28 16:46:18 +02:00 |
Jon Dufresne
|
8b3f1c35dd
|
Removed unnecessary assignments in various code.
|
2019-04-24 13:09:29 +02:00 |
Hasan Ramezani
|
917fd9d03f
|
Fixed #27755 -- Added ModelAdmin.get_inlines() hook.
|
2019-04-17 07:16:04 +02:00 |
Tim Graham
|
8335d59200
|
Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission.
|
2019-03-30 16:49:16 -04:00 |
btknu
|
7c3a8b9db2
|
Fixed #30243 -- Simplified ModelAdmin.render_change_form()'s has_file_field.
|
2019-03-08 18:03:58 -05:00 |
Nick Pope
|
24b82cd201
|
Fixed #30159 -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
|
2019-02-06 13:48:39 -05:00 |
Tim Graham
|
6079ed82f4
|
Refs #27991 -- Made obj a required argument of InlineModelAdmin.has_add_permission().
Per deprecation timeline.
|
2019-01-17 11:14:07 -05:00 |
MaximZemskov
|
3c01fe30f3
|
Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396 .
|
2019-01-11 18:02:43 -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 |
Matthias Kestenholz
|
f9ff1df1da
|
Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.
|
2018-11-09 18:52:30 -05:00 |
Javier Matos Odut
|
3d4d0a25b2
|
Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset().
|
2018-10-31 10:16:17 -04:00 |
Sergey Fedoseev
|
8ef8bc0f64
|
Refs #28909 -- Simplifed code using unpacking generalizations.
|
2018-09-28 09:57:12 -04:00 |
Tim Graham
|
fd8a7a5313
|
Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.
* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
|
2018-08-30 11:22:50 +02:00 |
mackong
|
c832885a3e
|
Fixed #29426 -- Made UUID inputs in the admin match the width of a UUID.
|
2018-08-18 10:16:22 -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
|
57f16655cd
|
Added ModelAdmin._response_post_save() to avoid code duplication.
|
2018-08-17 10:51:57 -04:00 |
Jon Dufresne
|
cd790ed1a6
|
Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
|
2018-08-16 09:49:06 -04:00 |
Clément Mangin
|
64e1a271f5
|
Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda8 .
|
2018-08-10 11:20:43 -04:00 |
Carlton Gibson
|
958c7b301e
|
Fixed #29419 -- Allowed permissioning of admin actions.
|
2018-06-18 15:07:29 -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 |
Henk Kahlfuß
|
3eb9127678
|
Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking.
|
2018-06-15 10:31:08 -04:00 |
Carlton Gibson
|
b30f9b131c
|
Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda8 .
|
2018-06-13 14:49:28 -04:00 |
Tim Graham
|
e9bd1a3e12
|
Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+.
|
2018-06-06 11:40:24 -04:00 |
Adam Donaghy
|
b18650a263
|
Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a3 .
|
2018-06-01 10:41:05 -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 |
Jon Dufresne
|
be6ca89396
|
Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().
Thanks Vladimir Ivanov for the initial patch.
|
2018-04-04 19:21:50 -04:00 |
Becky Smith
|
8116e588db
|
Fixed #17962 -- Added ModelAdmin.get_deleted_objects().
|
2018-02-24 20:41:43 -05:00 |
Tim Graham
|
9822d88ca0
|
Removed using argument from admin's get_deleted_objects().
|
2018-02-24 09:21:13 -05:00 |
Tim Graham
|
16436f3751
|
Removed unused opts argument from admin's get_deleted_objects().
Unused since e12b3199d0 .
|
2018-02-21 13:32:13 -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 |
Jon Dufresne
|
ff05de760c
|
Fixed #29038 -- Removed closing slash from HTML void tags.
|
2018-01-21 02:09:10 -05:00 |
Дилян Палаузов
|
a38ae914d8
|
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
|
2018-01-12 12:44:50 -05:00 |
Vasilis Aggelou
|
777f216d55
|
Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion.
|
2018-01-05 18:28:45 -05:00 |
Tim Graham
|
acc8dd4142
|
Fixed #28984 -- Made assorted code simplifications.
|
2018-01-03 13:24:02 -05:00 |