Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | 2019-06-28 | 1 | -10/+10 | |
| | | | | Thanks Claude Paroz for assistance with translations. | |||||
* | Removed unnecessary assignments in various code. | Jon Dufresne | 2019-04-24 | 1 | -2/+1 | |
| | ||||||
* | Fixed #27755 -- Added ModelAdmin.get_inlines() hook. | Hasan Ramezani | 2019-04-17 | 1 | -1/+5 | |
| | ||||||
* | Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit ↵ | Tim Graham | 2019-03-30 | 1 | -26/+30 | |
| | | | | through model from being editable if the user only has the view permission. | |||||
* | Fixed #30243 -- Simplified ModelAdmin.render_change_form()'s has_file_field. | btknu | 2019-03-08 | 1 | -1/+1 | |
| | ||||||
* | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | 2019-02-06 | 1 | -11/+3 | |
| | | | | Dicts preserve order since Python 3.6. | |||||
* | Refs #27991 -- Made obj a required argument of ↵ | Tim Graham | 2019-01-17 | 1 | -13/+5 | |
| | | | | | | InlineModelAdmin.has_add_permission(). Per deprecation timeline. | |||||
* | Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() ↵ | MaximZemskov | 2019-01-11 | 1 | -1/+2 | |
| | | | | | | | optional. Restored backwards compatibility after refs #27991. Regression in be6ca89396c031619947921c81b8795d816e3285. | |||||
* | Used 4 space hanging indent for dictionaries. | Tim Graham | 2019-01-02 | 1 | -3/+5 | |
| | | | Thanks Mariusz Felisiak for auditing. | |||||
* | Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with ↵ | Tim Graham | 2019-01-01 | 1 | -1/+1 | |
| | | | | | | non-None obj during add. Thanks andreage for the report and suggested fix. | |||||
* | Fixed #29930 -- Allowed editing in admin with view-only inlines. | Carlton Gibson | 2018-12-03 | 1 | -1/+18 | |
| | | | Co-authored-by: Tim Graham <timograham@gmail.com> | |||||
* | Fixed #29929 -- Fixed admin view-only change form crash when using ↵ | Basil Dubyk | 2018-11-28 | 1 | -1/+2 | |
| | | | | ModelAdmin.prepopulated_fields. | |||||
* | Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins. | Matthias Kestenholz | 2018-11-09 | 1 | -7/+2 | |
| | ||||||
* | Fixed #29901 -- Allowed overriding an ↵ | Javier Matos Odut | 2018-10-31 | 1 | -9/+10 | |
| | | | | autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset(). | |||||
* | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | 2018-09-28 | 1 | -3/+3 | |
| | ||||||
* | Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't ↵ | Tim Graham | 2018-08-30 | 1 | -8/+8 | |
| | | | | | | | | 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. | |||||
* | Fixed #29426 -- Made UUID inputs in the admin match the width of a UUID. | mackong | 2018-08-18 | 1 | -0/+1 | |
| | ||||||
* | Fixed #29663 -- Made admin change view redirect to changelist with view ↵ | Jon Dufresne | 2018-08-17 | 1 | -1/+1 | |
| | | | | permission. | |||||
* | Added ModelAdmin._response_post_save() to avoid code duplication. | Jon Dufresne | 2018-08-17 | 1 | -17/+9 | |
| | ||||||
* | Refs #8936 -- Added ModelAdmin.has_view_or_change_permission(). | Jon Dufresne | 2018-08-16 | 1 | -6/+8 | |
| | ||||||
* | Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the ↵ | Clément Mangin | 2018-08-10 | 1 | -6/+8 | |
| | | | | | | add permission to a TabularInline. Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47. | |||||
* | Fixed #29419 -- Allowed permissioning of admin actions. | Carlton Gibson | 2018-06-18 | 1 | -11/+29 | |
| | ||||||
* | Fixed #29487 -- Accounted for object level permissions when calculating ↵ | Paulo | 2018-06-15 | 1 | -1/+1 | |
| | | | | | | change view's read-only fields. Thanks Matthew Frazier for the report and fix. | |||||
* | Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use ↵ | Henk Kahlfuß | 2018-06-15 | 1 | -1/+1 | |
| | | | | has_delete_permission() for permissions checking. | |||||
* | Refs #29419, #8936 -- Removed change permission requirement for admin actions. | Carlton Gibson | 2018-06-13 | 1 | -7/+0 | |
| | | | | Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47. | |||||
* | Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+. | Tim Graham | 2018-06-06 | 1 | -1/+1 | |
| | ||||||
* | Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable. | Adam Donaghy | 2018-06-01 | 1 | -1/+24 | |
| | | | | Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36. | |||||
* | Fixed #29417 -- Corrected two admin page titles for view-only users. | Ramiro Morales | 2018-05-23 | 1 | -1/+7 | |
| | ||||||
* | Fixed #8936 -- Added a view permission and a read-only admin. | olivierdalang | 2018-05-16 | 1 | -33/+104 | |
| | | | | | Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com> | |||||
* | Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission(). | Jon Dufresne | 2018-04-04 | 1 | -4/+11 | |
| | | | | Thanks Vladimir Ivanov for the initial patch. | |||||
* | Fixed #17962 -- Added ModelAdmin.get_deleted_objects(). | Becky Smith | 2018-02-24 | 1 | -3/+8 | |
| | ||||||
* | Removed using argument from admin's get_deleted_objects(). | Tim Graham | 2018-02-24 | 1 | -3/+1 | |
| | ||||||
* | Removed unused opts argument from admin's get_deleted_objects(). | Tim Graham | 2018-02-21 | 1 | -2/+3 | |
| | | | | Unused since e12b3199d0c01694ca6b09add5e0f27cadffc8ad. | |||||
* | Fixed #25790 -- Allowed disable column sorting in the admin changelist. | Alexander Gaevsky | 2018-02-07 | 1 | -0/+7 | |
| | | | | Thanks Ramiro Morales for completing the patch. | |||||
* | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | 2018-01-21 | 1 | -1/+1 | |
| | ||||||
* | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | 2018-01-12 | 1 | -7/+3 | |
| | | | | continue statements. | |||||
* | Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete ↵ | Vasilis Aggelou | 2018-01-05 | 1 | -0/+4 | |
| | | | | selected objects" deletion. | |||||
* | Fixed #28984 -- Made assorted code simplifications. | Tim Graham | 2018-01-03 | 1 | -3/+1 | |
| | ||||||
* | Fixed #28930 -- Simplified code with any() and all(). | Дилян Палаузов | 2017-12-26 | 1 | -5/+1 | |
| | ||||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -82/+80 | |
| | ||||||
* | Simplified BaseModelAdmin.lookup_allowed() a bit. | Sergey Fedoseev | 2017-12-06 | 1 | -3/+2 | |
| | ||||||
* | Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add ↵ | Tim Graham | 2017-12-01 | 1 | -2/+2 | |
| | | | | | | | another" inlines. Also allowed autocomplete widgets to work on AdminSites with a name other than 'admin'. | |||||
* | Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields. | Krzysztof Nazarewski | 2017-11-18 | 1 | -2/+21 | |
| | | | | Thanks Krzysztof Nazarewski for the initial patch. | |||||
* | Fixed #28585 -- Calculated admin's change form multipart context variable ↵ | Claude Paroz | 2017-11-07 | 1 | -1/+4 | |
| | | | | | from forms and formsets Thanks Tim Graham for the review. | |||||
* | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | 2017-09-20 | 1 | -10/+9 | |
| | | | | | | Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. | |||||
* | Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵ | Johannes Hoppe | 2017-09-18 | 1 | -3/+26 | |
| | | | | | | | ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch. | |||||
* | Removed unnecessary parens in various code. | Mariusz Felisiak | 2017-09-13 | 1 | -1/+1 | |
| | ||||||
* | Merged isinstance() calls. | Mariusz Felisiak | 2017-09-13 | 1 | -1/+1 | |
| | ||||||
* | Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. | Tim Graham | 2017-08-31 | 1 | -4/+0 | |
| | | | | | | | Previously, it was a QuerySet which could reevaluate to a new value if the model's data changes. This is inconsistent with other Field.value_from_object() methods. This allows reverting the fix in the admin for refs #27998. | |||||
* | Used OrderedDict.fromkeys() to initialize OrderedDict with None values. | Sergey Fedoseev | 2017-08-23 | 1 | -2/+2 | |
| |