summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2020-07-29[3.1.x] Corrected admin.register() signature in docs.Andrzej Bartosiński
Backport of eb215da363e6cf0e8f3405db3c4392398c8777cb from master
2020-07-13[3.1.x] Fixed #21528 -- Added note about filtering form field's queryset ↵Caio Ariede
based on instance to admin docs. Backport of d38c34119e91a533c797098f150abe99b5ee2fd8 from master
2020-07-02[3.1.x] Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.Carlton Gibson
Backport of b142bd4a1b83b77c5c81a8cf5a80a63608f96ad4 from master
2020-05-14[3.1.x] Refs #31034 -- Documented admin requires ↵Jon Dufresne
django.template.context_processors.request. Required since d24ba1be7a53a113d19e2860c03aff9922efec24. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of e341bed606d8ab2864838795276692cf86b08687 from master
2020-05-13[3.1.x] Fixed numbered list in admin overview docs.Jon Dufresne
Backport of 05ed7104c0bc069352b2cee85ab918e48ee73cbe from master
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
2018-06-13Refs #29419, #8936 -- Removed change permission requirement for admin actions.Carlton Gibson
Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-06-03Fixed #29385 -- Made admindocs ModelDetailView show model properties.humbertotm
Original patch by bkaluza. Tests and docs by humbertotm.
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-13Fixed #29401 -- Updated admin's jQuery to 3.3.1.T N
2018-05-12Alphabetized imports in various docs.Mariusz Felisiak
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-05-02Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop words.Kelly Hogan
2018-04-04Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().Jon Dufresne
Thanks Vladimir Ivanov for the initial patch.
2018-04-04Documented InlineModelAdmin.has_(add/change/delete)_permission().Jon Dufresne
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-01Refs #27728 -- Made cosmetic edits to admin template tag template overriding.Tim Graham
2018-02-28Fixed #27728 -- Allowed overriding admin templatetags templates.Raffaele Salmaso
2018-02-24Fixed #17962 -- Added ModelAdmin.get_deleted_objects().Becky Smith
2018-02-22Added backticks around obj argument in admin docs.Jon Dufresne
2018-02-15Fixed #27810 -- Allowed query expressions in admin_order_field.Andreas Pelme
2018-02-07Fixed #25790 -- Allowed disable column sorting in the admin changelist.Alexander Gaevsky
Thanks Ramiro Morales for completing the patch.