summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2021-01-20[3.2.x] Fixed #32371 -- Doc'd jquery.init.js dependency for admin widgets.Matthias Kestenholz
Backport of 7b3ec6bcc8309d5b2003d355fe6f78af89cfeb52 from master
2021-01-14Fixed #31259 -- Added admin dark theme.mimi89999
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2021-01-12Fixed #31747 -- Fixed model enumeration via admin URLs.Jon Dufresne
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-07Fixed #32018 -- Extracted admin colors into CSS variables.Matthias Kestenholz
Defined all colors used in the admin CSS as variables. Implemented the following standardizations and accessibility improvements while at it: - Improved the contrast of text to not use ratios of less than 3:1 anymore. - Most hover states already used desaturated and darkened colors. Changed object tools to follow the same rule instead of showing the primary color on hover. Various places used similar colors; those have been merged with the goal of reducing the count of CSS variables. Contrasts have been improved in a few places. - Many borders used slightly different colors (e.g. #eaeaea vs. #eee) - Help texts used #999, this has been changed to --body-quiet-color (#666) which has a better contrast. Introduced fast color transitions on links and buttons.
2020-12-16Fixed #32273 -- Doc'd AdminSite.unregister().Hasan Ramezani
2020-12-11Corrected docs regarding attributes required for logging in to the admin.Jan Pieter Waagmeester
Regression in 939dcff24f8e97d114595b102fb12348da482135.
2020-11-30Fixed #32232 -- Fixed typo in docs/ref/contrib/admin/actions.txt.Hasan Ramezani
2020-11-14Doc'd that admin site booleans are tri-state.Nick Pope
2020-11-14Improved examples in ModelAdmin.list_display docs.Nick Pope
2020-11-13Changed docs and a code comment to use gender-neutral pronouns.Nick Pope
Follow up to e1b77238171cc96f4451a06fb4682e2378896238.
2020-09-25Refs #32038 -- Added note to ModelAdmin.list_filter docs that ↵Mariusz Felisiak
GenericForeignKeys are not supported.
2020-08-20Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.Enderson Menezes
2020-07-29Corrected admin.register() signature in docs.Andrzej Bartosiński
2020-07-13Fixed #21528 -- Added note about filtering form field's queryset based on ↵Caio Ariede
instance to admin docs.
2020-07-02Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.Carlton Gibson
2020-06-18Fixed #6933 -- Added support for searching against quoted phrases in ↵Alix
ModelAdmin.search_fields.
2020-05-27Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields.Scott Cranfill
Co-Authored-By: Andy Chosak <andy@chosak.org>
2020-05-14Refs #31034 -- Documented admin requires ↵Jon Dufresne
django.template.context_processors.request. Required since d24ba1be7a53a113d19e2860c03aff9922efec24. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-13Fixed numbered list in admin overview docs.Jon Dufresne
2020-05-13Removed versionadded/changed annotations for 3.0.Mariusz Felisiak
2020-05-11Fixed #31034 -- Added a navigation sidebar to the admin.Tom Carrick
Co-authored-by: elky <elky@users.noreply.github.com> Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-05Fixed #31485 -- Updated admin's jQuery to 3.5.1.Mariusz Felisiak
2020-04-16Improved message example in admin actions documentation.Nick Pope
Avoid partial string construction and make use of ``ngettext`` to show example of how to handle plural variants with translations. Also make use of ``messages.SUCCESS`` to highlight customizing the style of the message - in this case it better fits what the message is conveying.
2020-03-03Documented default value of InlineModelAdmin.extra.Adam Johnson
2020-01-29Refs #25778 -- Updated some links to HTTPS and new locations.Mariusz Felisiak
2020-01-03Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.Federico Jaramillo Martínez
Thanks Simon Charette and Carlton Gibson for reviews. Co-Authored-By: Jonas Haag <jonas@lophus.org> Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2019-12-11Fixed #31080 -- Removed redundant type="text/javascript" attribute from ↵Jon Dufresne
<script> tags.
2019-11-06Fixed #15742 -- Fixed an example of collecting selected objects in ↵Daniel Fairhead
ModelAdmin.actions docs. The queryset argument is already filtered, and request.POST doesn't contain all selected objects when "Select All" is used.
2019-10-07Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when ↵Tamer Sherif
QuerySet.select_related() was already called.
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-08-23Fixed #30507 -- Updated admin's jQuery to 3.4.1.Dulmandakh
2019-05-31Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the ↵parth
parent object.
2019-05-15Changed tuple choices to list in docs.Jon Dufresne
2019-04-23Fixed #30365 -- Fixed syntax highlighting in SQL examples.Daniel Musketa
Sphinx interprets some "%[a-z]" in SQL statements as a "Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-17Fixed #27755 -- Added ModelAdmin.get_inlines() hook.Hasan Ramezani
2019-03-24Fixed #30259 -- Added support for admin_order_field attribute on properties ↵Jani Tiainen
in ModelAdmin.list_display.
2019-02-12Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.Hasan Ramezani
2019-01-17Removed versionadded/changed annotations for 2.1.Tim Graham
2019-01-11Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() ↵MaximZemskov
optional. Restored backwards compatibility after refs #27991. Regression in be6ca89396c031619947921c81b8795d816e3285.
2018-11-28Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when ↵Tim Graham
they're populated.
2018-11-09Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.Matthias Kestenholz
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-08-21Polished the admin overview docs.Rodrigo
2018-08-03Clarified the values accepted by ModelAdmin.fields.Adam Johnson
2018-07-18Added doc links for django.utils.html.escape().Claude Paroz
2018-06-18Fixed #29502 -- Allowed users with the view permission to use ↵Carlton Gibson
autocomplete_fields.
2018-06-18Fixed #29419 -- Allowed permissioning of admin actions.Carlton Gibson