summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2017-12-01Updated contrib translations from TransifexClaude Paroz
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-11-30Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media ↵Vasiliy Bolshakov
before its formset's Media. This provides better backwards compatibility following refs #28377.
2017-11-18Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.Krzysztof Nazarewski
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-17Refs #28814 -- Fixed "SyntaxError: Generator expression must be ↵Tim Graham
parenthesized" on Python 3.7. Due to https://bugs.python.org/issue32012.
2017-11-08Fixed #28751 -- Corrected the error message for inactive users in ↵shanghui
AdminAuthenticationForm. Thanks SeungWon Kang for the report and Tim Graham for the review.
2017-11-07Fixed #28585 -- Calculated admin's change form multipart context variable ↵Claude Paroz
from forms and formsets Thanks Tim Graham for the review.
2017-11-07Fixed #28769 -- Replaced 'x if x else y' with 'x or y'.Дилян Палаузов
2017-11-03Fixed #28768 -- Added Slovak char map for Javascript slug generation.Ondrej Kolimar
2017-10-31Refs #23919 -- Updated references to urllib.quote() to Python 3 location.Ville Skyttä
2017-10-12Fixed #28688 -- Made admin's URLify.js skip removal of English words if ↵Sævar Öfjörð Magnússon
non-ASCII chars are present.
2017-10-09Fixed #28685 -- Fixed awkward wrapping of Select2 chips.Johannes Hoppe
2017-10-02Fixed #28490 -- Removed unused code in admin.E108 check.Hunter Richards
2017-09-25Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵Tim Graham
JSONDecodeError.
2017-09-24Fixed JS linter errorClaude Paroz
Regression introduced in 1f3dfd783d.
2017-09-24Refs #25006 -- Marked again admin time picker shortcuts for translationClaude Paroz
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
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.
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ↵Johannes Hoppe
ManyToManyField in the admin. Thanks Florian Apolloner and Tim Graham for review and contributing to the patch.
2017-09-18Refs #14370 -- Vendored Select2 4.0.3 for use by the admin.Johannes Hoppe
From https://github.com/select2/select2/releases/tag/4.0.3
2017-09-16Fixed #26818 -- Added responsive CSS for the admin.elky
2017-09-13Removed unnecessary parens in various code.Mariusz Felisiak
2017-09-13Merged isinstance() calls.Mariusz Felisiak
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-05Simplified admin.widgets.url_params_from_lookup_dict().Sergey Fedoseev
2017-08-31Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham
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.
2017-08-28Fixed #28536 -- Removed old JS cross-browser utilitiesClaude Paroz
2017-08-26Removed lone usage of jQuery in admin's calendar.jsClaude Paroz
2017-08-23Removed unneeded iter() calls.Sergey Fedoseev
A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad.
2017-08-23Used OrderedDict.fromkeys() to initialize OrderedDict with None values.Sergey Fedoseev
2017-08-22Fixed #28496 -- Added ModelAdmin.get_changelist_instance().Simon Meers
2017-08-08Fixed #28472 -- Optimized a jQuery selector in admin's actions.js.bc500
2017-08-01Removed unneeded escape filter in templates where autoescaping is enabled.Tim Graham
2017-07-29Avoided creation of temporary sets.Sergey Fedoseev
2017-07-21Refs #23919 -- Updated contrib.admin's compress.py to use pathlib.Tom Forbes
2017-07-20Fixed #28377 -- Made combining form Media retain relative asset order.Johannes Hoppe
Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
2017-07-19Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of ↵Roman Selivanov
MultiWidget.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-14Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.Lincoln Smith
2017-06-13Added tel input type to admin CSS.Mariusz Felisiak
2017-06-13Fixed #28295 -- Made admin's URLify.js trim trailing hyphens.monotonee
2017-06-12Fixed #27967 -- Fixed KeyError in admin's inline form with inherited ↵Paulo
non-editable pk. Thanks Robin Anupol for the initial report and workaround.
2017-06-07Factored shared Inline/ModelAdmin.get_fields() logic into BaseModelAdmin.Tim Graham
BaseModelAdmin.get_fields() was previously unused/untested.
2017-06-06Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.kakulukia
2017-06-06Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.Paulo
2017-06-05Replaced Model._get_pk_val() with pk property.Tim Graham
Model.pk was added after _get_pk_val() and many places weren't simplified.
2017-06-05Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested ↵Paulo
reverse relation is in list_filter.
2017-06-02Removed useless hasattr() checks in ModelAdmin checks.Tim Graham
These attributes are defined on BaseModelAdmin and thus should always be there.
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-31Updated translations from TransifexClaude Paroz
Forward port of 02158a785eff923110cb4c7c7e635d3ce4a928e3 from stable/1.11.x
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27Fixed #28226 -- Replaced use of str.join() with concatenation.Tom