summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2019-11-06[3.0.x] Fixed #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. Backport of e651b3095c950627b1eed1527f2bb011ddad03de from master
2019-10-07[3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related ↵Tamer Sherif
when QuerySet.select_related() was already called. Backport of e3f647f4d5fc414f8cb7ab58df5e61a19908c63f from master
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.
2018-02-03Fixed #8500 -- Allowed overriding the default admin site instance.Raffaele Salmaso
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов
continue statements.
2018-01-05Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete ↵Vasilis Aggelou
selected objects" deletion.
2017-12-26Fixed #28956 -- Updated admin's jQuery to 3.2.1.Tim Graham
2017-12-07Fixed typo in docs/ref/contrib/admin/index.txt.Sam Collins
2017-11-18Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.Krzysztof Nazarewski
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-09Fixed #28777 -- Clarified the docs for admin.register's args.Tim Graham
2017-10-28Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add ↵Botond Beres
forms.
2017-09-22Removed versionadded/changed annotations for 1.11.Tim Graham
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-19Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs.Johannes Hoppe
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-02Fixed #17985 -- Documented ModelAdmin.lookup_allowed().Simon Meers