summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2022-06-27[4.0.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
2022-05-25[4.0.x] Unified AdminSite imports in docs.Hasan Ramezani
Backport of ce69e34bd646558bb44ea92cecfd98b345a0b3e0 from main
2022-01-12[4.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.Scott Pashley
Backport of 367d6920ece44639e54650d9a98f8c24e10f7229 from main
2022-01-11[4.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.Victor Peralta
Backport of f1905db6c0004a2b6c8b69c55a1f5f9da58ce2eb from main
2021-12-30[4.0.x] Improved @display(empty_value) example in ↵mangelozzi
ModelAdmin.empty_value_display docs. Backport of eb901681ab58c008f7bbbe555e5f43f8e0893bd3 from main
2021-10-27[4.0.x] Refs #33182 -- Adjusted custom admin theming example to use correct ↵Carlton Gibson
template block. Backport of a754b82dac511475b6276039471ccd17cc64aeb8 from main
2021-09-20Fixed #32504 -- Updated admin's jQuery to 3.6.0.Mariusz Felisiak
2021-09-08Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its ↵Siburg
verbose_name.
2021-07-28Fixed typo in docs/ref/contrib/admin/index.txt.Pēteris Caune
2021-07-23Fixed #32950 -- Removed myproject from imports in admin docs where appropriate.Abhyudai
2021-06-03Fixed typos in docs.Jacob Walls
2021-05-26Fixed #32543 -- Added search_help_text to ModelAdmin.Hasan Ramezani
2021-05-19Fixed typo in docs/ref/contrib/admin/index.txt.David Sanders
2021-05-13Fixed #32031 -- Added model class for each model to AdminSite.each_context().Raffaele Salmaso
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-02-15Fixed #26607 -- Allowed customizing formset kwargs with ↵manav014
ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews.
2021-02-11Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.Ramon Saraiva
2021-01-20Fixed #32371 -- Doc'd jquery.init.js dependency for admin widgets.Matthias Kestenholz
2021-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
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