summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2021-09-20Fixed #32504 -- Updated admin's jQuery to 3.6.0.Mariusz Felisiak
2021-09-18Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵Ken Whitesell
custom admin site.
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
2021-09-13Fixed #33104 -- Fixed wrapping of long words in admin readonly fields.Aakash Singh
2021-09-10Fixed #31867 -- Made TabularInline handling of hidden fields with view-only ↵antoinehumbert
permissions consistent with StackedInline.
2021-09-08Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its ↵Siburg
verbose_name.
2021-08-27Fixed #33051 -- Fixed highlighting the current model in admin's sidebar with ↵Hasan Ramezani
non-ASCII model names.
2021-08-10Fixed #32993 -- Added AutocompleteJsonView.serialize_result() to allow ↵Mart Sõmermaa
customization.
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-07-28Refs #32946 -- Changed internal usage of dynamic Q() objects construction to ↵Keryn Knight
use non-kwargs initialization. This prefers non-kwargs construction of dynamically generated Q() objects to create a single Q() object instead of many and then combining them, where possible.
2021-07-15Fixed #32910 -- Unified different plural equations for the same language in ↵Mariusz Felisiak
contrib apps. Thanks Martin Svoboda for the report and initial patch.
2021-07-05Refs #24121 -- Added __repr__() to AdminSite, DefaultAdminSite, and ModelAdmin.Eduardo Aldair Ahumada Garcia Jurado
Thanks tlebrize for the initial patch.
2021-06-29Fixed #32884 -- Fixed centering of the header on admin login page.Lou Huang
2021-06-28Updated translations from Transifex.Claude Paroz
Forwardport of 04b744050f1743a88e2bf0ca2ca82b34e3361f50 from stable/3.2.x.
2021-06-23Removed options parameter from djangoAdminSelect2.Adam Johnson
It seems this parameter has never been used internally, so to avoid exposing a large surface area in the admin, remove it. As discussed in: https://groups.google.com/g/django-developers/c/G-fDkNxhxsE/m/--RtGwmtAQAJ
2021-06-10Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵saeedblanchette
BlockTranslateNode, and IncludeNode.
2021-06-07Refs #24121 -- Added __repr__() to ChangeList and BaseStorage.saeedblanchette
2021-05-26Fixed #32543 -- Added search_help_text to ModelAdmin.Hasan Ramezani
2021-05-20Renamed "object" argument of ModelAdmin.log_addition(), log_change(), and ↵David Sanders
log_deletion() methods.
2021-05-20Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value.David Sanders
2021-05-19Fixed #32766 -- Removed unused ORDER_TYPE_VAR.David Sanders
Unused since 5434ce231d75004bdbe5cf2b7b24ce67a2a6e737.
2021-05-18Fixed #32754 -- Made AdminSite.catch_all_view() respect SCRIPT_NAME.Slava Skvortsov
Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
2021-05-13Fixed #32031 -- Added model class for each model to AdminSite.each_context().Raffaele Salmaso
2021-04-29Fixed capitalization of "ECMAScript" and "JavaScript".Nick Pope
2021-04-29Refs #32682 -- Renamed lookup_needs_distinct() to lookup_spawns_duplicates().Mariusz Felisiak
Follow up to 187118203197801c6cb72dc8b06b714b23b6dd3d.
2021-04-29Refs #32675 -- Removed to_field from ForeignKeys in contrib apps' migrations.David Wobrock
Refs #22889.
2021-04-27Fixed #32682 -- Made admin changelist use Exists() instead of distinct() for ↵Mariusz Felisiak
preventing duplicates. Thanks Zain Patel for the report and Simon Charette for reviews. The exception introduced in 6307c3f1a123f5975c73b231e8ac4f115fd72c0d revealed a possible data loss issue in the admin.
2021-04-27Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.Mariusz Felisiak
QuerySet.distinct() is not the only way to avoid duplicate, it's also not preferred.
2021-04-26Fixed #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Zain Patel
Regression in 84609b3205905097d7d3038d32e6101f012c0619.
2021-04-21Fixed #32647 -- Restored multi-row select with shift-modifier in admin ↵Carlton Gibson
changelist. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-04-14Fixed #32649 -- Fixed ModelAdmin.search_fields crash when searching against ↵Mariusz Felisiak
phrases with unbalanced quotes. Thanks Dlis for the report. Regression in 26a413507abb38f7eee4cf62f2ee9727fdc7bf8d.
2021-04-09Added missing "event" argument to addEventListener() call in actions.js.Raymond Nunez
2021-04-06Updated translations from Transifex.Claude Paroz
Forwardport of 1ea5e983151f797b285c789626411b9373cd8727 from stable/3.2.x.
2021-03-31Removed unnecessary left/right in admin sidebar CSS.Mariusz Felisiak
2021-03-31Fixed #32204 -- Added quick filter to admin's navigation sidebar.Maxim Milovanov
2021-03-18Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.Johannes Maron
In MTI or ForeignKey as primary key cases, it is required to fetch the attname from the field instance on the remote model in order to reliably resolve the to_field_name. Co-authored-by: Johannes Maron <info@johanneshoppe.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-10Fixed #32512 -- Fixed admin dark theme for autocomplete fields.mimi89999
2021-03-09Refs #32018 -- Corrected color variable for toggle links in admin.Mariusz Felisiak
Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
2021-03-09Refs #32018 -- Used --darkened-bg for <pre> elements.Mariusz Felisiak
2021-03-04Fixed #32494 -- Adjusted system check for raw_id_fields to warn about ↵Hasan Ramezani
Field.attname.
2021-03-04Corrected messages of admin checks for invalid model field names.Hasan Ramezani
2021-03-03Fixed #32493 -- Removed redundant never_cache uses from admin views.tim-mccurrach
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-02-24Fixed #32468 -- Corrected usage of never_cache in contrib.admin.Haki Benita
2021-02-18Fixed #32443 -- Removed "shifted" CSS class when admin's sidebar is disabled.Amir Ajorloo
2021-02-16Fixed #30231 -- Fixed admin filter horizontal/vertical verbose_name generation.Teresa Partida
Co-authored-by: David Smith <smithdc@gmail.com>
2021-02-15Fixed #26607 -- Allowed customizing formset kwargs with ↵manav014
ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews.
2021-01-28Fixed #32391 -- Used CSS flex properties for changelist filter.Denis Skulimovskiy
Matched layout adjustment using flex from admin sidebar added in d24ba1be7a53a113d19e2860c03aff9922efec24. Filters would become squashed when viewport was constrained or list display table became too wide.
2021-01-27Fixed #32385 -- Removed unused and duplicated loading of tags in admin ↵tim-mccurrach
templates. - `i18n` is duplicated in base.html. - `l10n` is unused in prepopulated_fields_js.html since d638cdc42acec608c1967f44af6be32a477c239f. - `static` is unused in change_list_results.html since f2ed107b079b050950e2fc5f2b689ca553ae12f5. - `static` is unused in stacked.html since d61ebc8fed212366340b1ed6f5d7722613801459.
2021-01-20Refs #31259 -- Made various dark theme adjustments.Tom Carrick
2021-01-19Fixed #32324 -- Added template block to override the admin site header.muskanvaswan