summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2015-01-13[1.6.x] Fixed bad model example in admin docs.Collin Anderson
Backport of e7771ec380a116dbef481001fb1ce664f5c7311e from master
2014-11-25[1.6.x] Added warning about get_inline_instances() permission checking; refs ↵Simon Charette
#23754. Backport of e0d1f2684ae60573b209783f9fd4f9db163ad704 from master
2014-11-16[1.6.x] Fixes a race condition in the documentation.Peter Sagerson
The example for django.contrib.admin.ModelAdmin.get_form modifies self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests.[1] This updated documentation demonstrates a safe method to override admin forms on a per-request basis. [1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA Backport of 0d1a9d203a970a82a2f81edf0ba7d4b55442fd78 from master
2014-10-30[1.6.x] Explained why admindocs omits model methods with arguments.Zan Anderle
Backport of 9e3aaa5a46 from master
2014-10-29[1.6.x] Added cross reference in admin docs to topic about saving objects in ↵P.A. SCHEMBRI
formsets. Backport of 388c6038fd from master
2014-10-06[1.6.x] Updated links in admin docs to use :ref:Kostochko Dmitriy
per Sphinx docs: "Using ref is advised over standard reStructuredText links to sections because it works across files, when section headings are changed, and for all builders that support cross-references. Backport of 13409b932a from master
2014-07-29[1.6.x] Fixed #23123 -- Don't use a bare except in ModelAdmin documentationBaptiste Mispelon
Thanks to wkschwartz for the report and to Tim for the patch. Backport of e5619330e2 from master
2014-07-22[1.6.x] Fixed typo in docs/ref/contrib/admin/index.txt.africa itcase
Backport of 06ba4b9eee from master
2014-05-13[1.6.x] Removed an unnecessary anchor in the docs.Tim Graham
Backport of a06808d370 from master
2014-05-12[1.6.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of ↵Tim Graham
methods that InlineModelAdmin supports. Backport of 986bd41f8a from master
2014-04-22[1.6.x] Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand. Backport of 11d453bcadad3c9a5ae35882792d0f1e8e8e7818 from master
2014-04-10[1.6.x] Fixed #21353 -- Noted that description is ignored for TabularInlines.Tim Graham
Thanks nofinator for the report. Backport of d5031ecf88 from master
2014-03-03[1.6.x] Fixed #21908 -- Added example usage for ↵Tim Graham
ModelAdmin.get_inline_instances(). Thanks matt at schinckel.net for the suggestion. Backport of 5a4f1298cf from master
2014-02-23[1.6.x] Fixed #21902 -- Documented search order for list_display.Marcin Sokół
Backport of 09b725f51bbfa0f01b27ee2d718889926d409519 from master.
2014-01-22[1.6.x] Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855. Backport of 79e1d6ebd70898d514a44b85648e3d24104c4243 from master.
2013-11-24[1.6.x] Fixed typo in previous commit; refs #21490.Tim Graham
Backport of 03bc0a8ac5 from master
2013-11-24[1.6.x] Fixed #21490 -- Fixed custom admin URL reverse example.Tim Graham
Thanks glarrain for the report. Backport of bfe7377adb from master
2013-11-18[1.6.x] Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">‘" in the generated HTML. Backport of c33d1ca1d98003de29cdecb6080b52c5c52139bd from master.
2013-11-09[1.6.x] Fixed versionadded misuse in the admin documentation.Baptiste Mispelon
Backport of c82e850eed2eb3957ed792908b73622ebd3034a7 from master.
2013-07-31[1.6.x] Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498.SusanTan
Thanks CollinAnderson for the report. Backport of 7de35a9ef3 from master
2013-07-08[1.6.x] Fixed #19695 -- Retitle "Form Media" to "Form Assets".James Bennett
Backport of c0f03175ce from master
2013-07-08[1.6.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.Tim Graham
Thanks johnsmith for the suggestion. Backport of 181f63c22d from master
2013-07-05[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review. Backport of 7442eb1a24 from master.
2013-06-26Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.Tim Graham
uid is now base64 encoded in password reset URLs/views. A backwards compatible password_reset_confirm view/URL will allow password reset links generated before this change to continue to work. This view will be removed in Django 1.7. Thanks jonash for the initial patch and claudep for the review.
2013-06-19Fixed #6903 - Preserve admin changelist filters after saving or deleting an ↵Loic Bistuer
object
2013-06-13Added release notes for auth views being reversed by name, not by path.Tim Graham
Refs #20532
2013-06-06Merge pull request #1245 from oinopion/list_select_relatedMarc Tamlyn
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-05Fixed #19080 -- Fine-grained control over select_related in adminTomek Paczkowski
2013-06-05Proofed the 1.6 release notesTim Graham
2013-06-01Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
2013-05-30Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-21Fixed #17308 -- Enabled the use of short_description on properties in the admin.Wiktor Kolodziej
2013-05-20Fixed warnings in admindocs; refs #20126.Tim Graham
2013-05-19Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.Bozidar Benko
This adds a get_search_results method that users can override to provide custom search strategies. Thanks to Daniele Procida for help with the docs.
2013-05-19Merge pull request #1162 from sspross/patch-docsMarc Tamlyn
Add needed Imports to the Documentation, Part II
2013-05-19Add missing imports and models to the examples in the admin documentationvkuzma
2013-05-19Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middlewareŁukasz Langa
2013-05-16Fixed #19712 - Clarified admindocs regarding which attributes appear.Tim Graham
Thanks Daniele Procida for the report.
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant
added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-04-20Adapted uses of versionchanged/versionadded to the new form.Juan Catalano
Refs #20104.
2013-03-29Fixed #20160 -- Erronous reference to `module_name` in admin doc.Baptiste Mispelon
Ref #19689.
2013-03-22Added missing markup to docs.Tim Graham
2013-03-21Docs template name mistakeTom V
change_list_request.html doesn't exist, it's named  change_list_results.html
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-02-28Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.Aymeric Augustin
Thanks tomas_00 for the report.
2013-02-25Minor edits to some recently-added admin docs.Carl Meyer
2013-02-24Add column-<field_name> classes to the admin listDiederik van der Boor
This simplifies CSS styling to set column widths.
2013-02-23Fixed #19887 - Noted when callables may be used in ModelAdmin.fields and ↵Tim Graham
ModelAdmin.fieldset. Thanks Patrick Strasser for the suggestion and Zbigniew Siciarz for the patch.
2013-02-22Documented jQuery upgradeClaude Paroz
Refs #14571.
2013-02-19Fixed #19852 - Updated admin fieldset example for consistency.Tim Graham
Thanks chris.freeman.pdx@ for the suggestion.