summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2017-12-01[2.0.x] Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add ↵Tim Graham
another" inlines. Also allowed autocomplete widgets to work on AdminSites with a name other than 'admin'. Backport of 81057645f61fe545f4f11737dbd3040043ed2436 from master
2017-12-01[2.0.x] Updated contrib translations from TransifexClaude Paroz
2017-12-01[2.0.x] Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's ↵Vasiliy Bolshakov
Media before its formset's Media. This provides better backwards compatibility following refs #28377. Backport of 03974d81220ffd237754a82c77913799dd5909a4 from master
2017-11-17[2.0.x] Refs #28814 -- Fixed "SyntaxError: Generator expression must be ↵Tim Graham
parenthesized" on Python 3.7. Due to https://bugs.python.org/issue32012. Backport of 931c60c5216bd71bc11f489e00e063331cf21f40 from master
2017-11-03[2.0.x] Fixed #28768 -- Added Slovak char map for Javascript slug generation.Ondrej Kolimar
Backport of ba2c4ec7ccf4e7fb3bbb9a5df643f50b2f38ee2a from master
2017-10-31[2.0.x] Refs #23919 -- Updated references to urllib.quote() to Python 3 ↵Ville Skyttä
location. Backport of 23e551ce6c7956e4c143357643dab2e89d30bfe0 from master
2017-10-09[2.0.x] Fixed #28685 -- Fixed awkward wrapping of Select2 chips.Johannes Hoppe
Backport of 3a191bd4abf9937e11504e66a7e5167910c0ab84 from master
2017-09-24[2.0.x] Fixed JS linter errorClaude Paroz
Regression introduced in 1f3dfd783d. Backport of c180abe6f1f663dcd2f1ed75590eb6aa6cb94276 from master.
2017-09-24[2.0.x] Refs #25006 -- Marked again admin time picker shortcuts for translationClaude Paroz
Backport of fe000ab18d2571394868882865907e92aabbda0a from master.
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
2017-05-27Fixed #25006 -- Allowed custom time shortcuts in admin's time picker.Anton Samarchyan
2017-05-25Fixed docstring typo in django/contrib/admin/actions.py.Yuichi Fujikawa
2017-05-05Fixed #28085 -- Added missing plural forms in en translation catalogsClaude Paroz
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-26Replaced temporary lists used for passing arguments with iterables.Jon Dufresne
2017-04-04Updated contrib translations from TransifexClaude Paroz
Forward port of 290b2849f7ded5d21aa54c16171d806f7c14dfc9 from stable/1.11.x