summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2012-03-21Fixed #17936 -- Fixed a code sample in the admin `SimpleListFilter` ↵Julien Phalip
documentation. Thanks to anonymous for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-24Fixed #17749 - Documented better way of overriding ModelAdmin; thanks ↵Timo Graham
chrisdpratt and claudep. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-17Documentation (and some small source code) edits from [17432] - [17537]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-09Fixed #17515 -- Added ability to override the template of custom admin ↵Jannis Leidel
FilterSpec classes. Thanks, saxix and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Moved 'User-requested password resets' docs from [17266] from auth docs to ↵Adrian Holovaty
admin docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@17305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Made some small clarifications to contrib/admin/index.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-03Added a versionadded directive for the 'admin_urlname' filter introduced at ↵Aymeric Augustin
r16857. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-26Fixed #16257 -- Added new `ModelAdmin.get_list_display_links()` method to ↵Julien Phalip
allow for the dynamic display of links on the admin changelist. Thanks to graveyboat for the suggestion and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14Fixed many more ReST indentation errors, somehow accidentally missed from ↵Luke Plant
[16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Fixed #16776 -- Fixed a regression introduced in r16415 which caused ↵Julien Phalip
Django's embedded jQuery to overwrite any pre-existing values of `window.jQuery` in the global namespace. Many thanks to Rob Hudson, Jannis Leidel and "anonymous" for the help resolving this issue. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-10Removed use of non-standard indentation rules in docs, and the custom ↵Luke Plant
transform that supported them. Doc writers should be aware that we are now back to normal ReST rules regarding blockquotes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-10Fixed a bunch of ReST errors that resulted in interpretation as block quotationsLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-07Fixed #8060 - Added permissions-checking for admin inlines. Thanks p.patruno ↵Carl Meyer
for report and Stephan Jaensch for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-03Added some sphinx cross-reference links to the built-in template tags and ↵Julien Phalip
filters in multiple areas of the documentation. Also fixed a few minor inconsistencies and did a little PEP8 cleanup while I was at it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-30Fixed doc references to `django.db.models.query.QuerySet` and converted some ↵Jannis Leidel
tabs that were introduced in r16699 to spaces. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-20Converted internal link generation in the admin and admin document generator ↵Ramiro Morales
to use named URLs. Thanks to Florian Apolloner for both the initial patch and his final push to get this fixed, to Dario Ocles for his great work on the admin templates and switching the admin_doc application to also use named URLs, to Mikko Hellsing for his comments and to Jannis and Julien for their review and design guidance. Fixes #15294. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-16Fixed #16863 -- Corrected ReST markup to avoid errors building docs.Carl Meyer
Although directives such as "note" and "warning" will accept content immediately following the directive, this is technically where arguments to the directive should go (see http://sphinx.pocoo.org/rest.html#directives). Putting the content there means that any lines beginning with an inline text role (e.g. ":setting:`DEBUG`") will be mis-interpreted as an option block for the directive. To avoid this error, there should always be a blank line between the directive start and the directive content. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-11Fixed #14675 -- Completed removal of `from django.conf.urls.default import ↵Ramiro Morales
*` usage. This applies to both our own [test] code and documentation examples. Also: * Moved the functions and handlers from `django.conf.urls.defaults` up to `django.conf.urls` deprecating the former module. * Added documentation for `handler403`. * Tweaked the URLs topic document a bit. Thanks to pupeno and cdestigter for their great work contributing patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-11Fixed #16552: Noted that contrib.sessions is a requirement for the admin.James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-08Fixed #15997 -- Added `list_max_show_all` option to `ModelAdmin` in ↵Jannis Leidel
replacement for a global module level variable. Thanks, jsdalton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-03Two very simple docs fixes.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13Fixed #16621 -- Fixed lots of typos in the docs. Thanks, Bernhard Essl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #14496 -- Fixed conflict between ModelForm exclude and ModelAdmin ↵Jannis Leidel
readonly values. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16377 -- Fixed docs about how to disable the admin actions ↵Jannis Leidel
conditionally to match the current code. Thanks, Aymeric Augustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #16115 -- Added ModelAdmin.save_related method to be able to do pre- ↵Jannis Leidel
or post-save operations for objects related to the parent object currently displayed. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-01Fixed #15974 -- Correctly link to static files handling in deployment docs. ↵Jannis Leidel
Thanks, RogueBean. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #12875 -- Added get_ordering to ModelAdmin. Many thanks to Manuel ↵Jannis Leidel
Saelices. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #16195 -- Added docs for ModelAdmin's get_changelist method. Thanks, ↵Jannis Leidel
msaelices. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-08Fixed #14206 - dynamic list_display support in adminLuke Plant
Thanks to gabejackson for the suggestion, and to cyrus for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02Fixed #11868 - Multiple sort in admin changelist.Luke Plant
Many thanks to bendavis78 for the initial patch, and for input from others. Also fixed #7309. If people were relying on the undocumented default ordering applied by the admin before, they will need to add 'ordering = ["-pk"]' to their ModelAdmin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29Fixed #15992 -- Added more references to settings. Thanks, aaugustin.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14Added ability to describe grouping of form fields in the same row to the ↵Ramiro Morales
`fields` ModelAdmin attribute. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-04Fixed #15960 -- Extended list filer API added in r16144 slightly to pass the ↵Jannis Leidel
current model admin to the SimpleListFilter.lookups method to support finer grained control over what is filtered over. Many thanks to Carl Meyer and Julien Phalip for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Corrected the behavior of the SimpleFilter.lookups method to also be able to ↵Jannis Leidel
return None. Also modified example in documentation to be a bite more realistic. Refs #5833. Thanks for the hint, Martin Mahner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03Fixed #5833 -- Modified the admin list filters to be easier to customize. ↵Jannis Leidel
Many thanks to Honza Král, Tom X. Tobin, gerdemb, eandre, sciyoshi, bendavis78 and Julien Phalip for working on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15008 -- Replaced all calls in the admin to render_to_response with ↵Jannis Leidel
TemplateResponses for easier customization. Thanks to Chris Adams for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11639, #13618 -- Added get_prepopulated_fields method to ModelAdmin ↵Jannis Leidel
and InlineModelAdmin to be able to handle prepopulated fields on a case-by-case basis. Thanks, leanmeandonothingmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-07Fixed #15757 - removed remaining instances of get_and_delete_messagesLuke Plant
Thanks to void for the report, and julien for the bulk of the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-03Fixed #15746. Clarified updated list_filter documentation.Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21Fixed #11058 - list_display_links doesn't allow callables not defined in the ↵Luke Plant
model Thanks to dvine for the report and julien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16Fixed #15233 -- reST/Sphinx markup corrections in numerous areas, mostly ↵Gabriel Hurley
centering around bad crossref targets. Thanks to Aryeh Leib Taurog for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14Fixed a couple of documentation typos.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-29Fixed #14993 - Improved docs for ModelAdmin.filter_horizontal adding that ↵Timo Graham
it's for ManyToManyFields; thanks jammon for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16Fixed #15030 - ModelAdmin media docs don't mention STATIC_URL. Thanks jezdez ↵Timo Graham
for the suggestion, Silva for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed #15003 - assorted edits to admin docs; thanks adamv.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Fixed #13307 -- Enhanced the generic inlines documentation by mentioning the ↵Ramiro Morales
concrete Generic{Tabular,Stacked}Inline classes that should be used. Thanks loki77 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #12469 - Add a few clarifications to the ModelAdmin.get_urls() docs. ↵Timo Graham
Thanks benc for the suggestions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27Fixed #12642 - Add docs for has_[add|change|delete]_permission ModelAdmin ↵Timo Graham
methods. Thanks to MadeR for the report and for the wiki contributors from which I took language for this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37