summaryrefslogtreecommitdiff
path: root/django/contrib/admin/options.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #28496 -- Added ModelAdmin.get_changelist_instance().Simon Meers2017-08-221-19/+28
|
* Fixed #28377 -- Made combining form Media retain relative asset order.Johannes Hoppe2017-07-201-1/+1
| | | Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
* Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.Lincoln Smith2017-06-141-0/+4
|
* Factored shared Inline/ModelAdmin.get_fields() logic into BaseModelAdmin.Tim Graham2017-06-071-11/+9
| | | BaseModelAdmin.get_fields() was previously unused/untested.
* Replaced Model._get_pk_val() with pk property.Tim Graham2017-06-051-4/+2
| | | Model.pk was added after _get_pk_val() and many places weren't simplified.
* Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested ↵Paulo2017-06-051-1/+1
| | | | reverse relation is in list_filter.
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-1/+1
| | | iter(dict) is equivalent to iter(dict.keys()).
* Refs #27795 -- Replaced many force_text() with str()Claude Paroz2017-04-271-9/+8
| | | | Thanks Tim Graham for the review.
* Refs #27795 -- Removed unneeded force_text callsClaude Paroz2017-03-041-8/+7
| | | | Thanks Tim Graham for the review.
* Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.Anton Samarchyan2017-02-071-6/+10
|
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-3/+3
| | | | Thanks Tim Graham for the review.
* Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan2017-02-041-28/+26
|
* Fixed spelling of "nonexistent".Tim Graham2017-02-031-1/+1
|
* Used model_ngettext in two more placesClaude Paroz2017-01-311-7/+3
|
* Refs #23919 -- Replaced usage of django.utils.http utilities with Python ↵Claude Paroz2017-01-261-1/+2
| | | | | | equivalents Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-6/+6
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-3/+2
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-5/+5
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-2/+1
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #2856 -- Removed redundant escaping in admin's "Perhaps it was ↵Tim Graham2017-01-041-3/+3
| | | | deleted?" message.
* Fixed #2856 -- Replaced some 404s with messages in admin.Karen Tracey2017-01-031-11/+17
| | | | | | Instead of a 404, return a redirect to admin index page with a message indicating that the requested object does not exist. This avoids the admin returning 404 from "Recent Actions" links for deleted objects.
* Fixed #26543 -- Prevented "confirm form submission" browser prompt when ↵Adonys Alea Boffill2016-12-231-2/+7
| | | | reloading after an admin actions failure.
* Fixed #27313 -- Allowed overriding admin popup response template.Michael Scott2016-12-141-4/+18
|
* Refs #17235 -- Made MultiPartParser leave request.POST immutable.Vinay Karanam2016-12-071-1/+1
|
* Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami2016-11-141-4/+4
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Fixed #24941 -- Added ModelAdmin.get_exclude().Zach Borboa2016-10-071-10/+12
| | | | Thanks Ola Sitarska for the initial patch.
* Fixed #27273 -- Added a construct_change_message() admin utility function.Tim Graham2016-10-051-39/+5
|
* Fixed #27218 -- Returned LogEntry instances from ModelAdmin.log_*() methods.François Freitag2016-10-041-3/+3
|
* Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field ↵Claude Paroz2016-10-011-24/+24
| | | | | | detection Thanks Ramiro Morales for the report and Tim Graham for the review.
* Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.Jibodeah2016-09-141-2/+7
| | | Thanks juntatalor for the initial patch.
* Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().Mattias Loverot2016-08-251-3/+3
|
* Replaced property() usage with decorator in a couple places.Berker Peksag2016-08-241-1/+1
|
* Fixed #26919 -- Added the action form's media in the changelist view.Stanislav Karpov2016-08-111-0/+1
|
* Refs #16501, #26474 -- Added xregexp.js source file.Pyie Zone2016-06-061-1/+1
|
* Refs #24227 -- Partially reverted replacement of M2M isinstance checks by ↵Collin Anderson2016-05-111-4/+4
| | | | | | | field.many_to_many. This fixes django-taggit and reflects some places where duck-typing may not be appropriate.
* Fixed #26449 -- Merged admin's FORMFIELD_FOR_DBFIELD_DEFAULTS with ↵marysia2016-05-071-2/+5
| | | | | | formfield_overrides. Useful for overriding the DateTimeField widget.
* Fixed #16327 -- Redirected "Save as new" to change view instead of the ↵Markus Amalthea Magnuson2016-04-201-1/+6
| | | | changelist.
* Fixed E128 flake8 warnings in django/.Tim Graham2016-04-081-40/+58
|
* Fixed W503 flake8 warnings.Tim Graham2016-04-041-2/+1
|
* Fixed #26235 -- Handled ProtectedError in a POST to admin's delete_view().Akshesh2016-03-211-1/+1
|
* Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz2016-03-191-4/+4
| | | | Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
* Fixed #11313 -- Made ModelAdmin.list_editable more resilient to concurrent ↵bphillips2016-02-011-1/+1
| | | | | | | | edits. Allowed admin POSTed bulk-edit data to use modeladmin.get_queryset() so that the ids in the POST data have a chance to match up even if the objects on the current page changed based on the ordering.
* Fixed incorrect permissions check for admin's "Save as new".Myk Willis2016-02-011-4/+6
| | | | This is a security fix.
* Fixed #14402 -- Removed clearing of help_text for ManyToManyField's ↵Alexander Gaevsky2016-01-301-1/+0
| | | | raw_id_fields.
* Refs #25165 -- Fixed JSON serialization for delete popup in the admin.Tim Graham2016-01-091-1/+1
|
* Fixed #21113 -- Made LogEntry.change_message language independentClaude Paroz2016-01-081-16/+29
| | | | Thanks Tim Graham for the review.
* Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.Alexander Gaevsky2016-01-081-2/+2
| | | | | Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x (refs #25997).
* Refs #25165 -- Fixed failure of admin's "Add another" popup to close.Tim Graham2016-01-081-1/+1
| | | | Thanks Thomas Grainger for the fix.