summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin
AgeCommit message (Collapse)Author
2014-05-13Removed an unnecessary anchor in the docs.Tim Graham
2014-05-12Fixed #22613 -- Added formfield_for_choice_field() to the list of methods ↵Tim Graham
that InlineModelAdmin supports.
2014-04-23Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
2014-04-10Fixed #21353 -- Noted that description is ignored for TabularInlines.Tim Graham
Thanks nofinator for the report.
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-19Replaced reference to ModelAdmin.get_formsets() (deprecated) with ↵Daniel Hahler
get_formsets_with_inlines().
2014-03-03Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().Tim Graham
Thanks matt at schinckel.net for the suggestion.
2014-03-03Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().Greg Chapple
Allows custom behavior for setting initial form data in ModelAdmin. By default, initial data is set via GET params. The new method allows this behavior to be overridden. Thanks egasimus for the suggestion.
2014-02-28Fixed #21948 -- Noted TEMPLATE_LOADERS requirement when overriding admin ↵Alex de Landgraaf
templates. Thanks django at patjack.co.uk for the suggestion.
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-22Fixed #21902 -- Documented search order for list_display.Marcin Sokół
2014-02-14Fixed #21924 -- Added the ability to specify a reverse order for ↵Klemens Mantzos
admin_order_field. Thanks Klemens Mantzos for the report and initial patch.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2014-01-25Fixed #21829 -- Added default AppConfigs.Aymeric Augustin
Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion.
2014-01-22Don'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.
2014-01-19Fixed some admin sphinx definitions so links work properly.Tim Graham
2014-01-18Fixed #21712 -- Moved autodiscover() to AdminConfig.ready().Aymeric Augustin
Thanks Marc Tamlyn for the initial version of the patch.
2013-12-28Used app_label instead of appname.Aymeric Augustin
The last component of the dotted path to the application module is consistently referenced as the application "label". For instance it's AppConfig.label. appname could be confused with AppConfig.name, which is the full dotted path.
2013-12-18Fixed #21386 -- Removed admindocs dependence on sites frameworkBouke Haarsma
* Removed ADMIN_FOR setting and warn warning * Group view functions by namespace instead of site * Added a test verifying namespaces are listed Thanks to Claude Paroz for reviewing and ideas for improvement.
2013-11-25Fixed #20522 - Allowed use of partially validated object in ↵Jay Leadbetter
ModelAdmin.add_view formset validation. Updated ModelAdmin to use form.instance when passing parent model to child inlines for add_view. There is effectively no change in the change_view since the previously passed 'obj' is the same as form.instance. Thanks to meshy for report, and EvilDMP and timo for review.
2013-11-24Fixed typo in previous commit; refs #21490.Tim Graham
2013-11-24Fixed #21490 -- Fixed custom admin URL reverse example.Tim Graham
Thanks glarrain for the report.
2013-11-09Fixed versionadded misuse in the admin documentation.Baptiste Mispelon
2013-10-29Fixed #8261 -- ModelAdmin hook for customising the "show on site" buttonUnai Zalakain
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is used to get the url. If it's a callable, the callable is called with the object as the only parameter. If ``False``, not link is displayed. With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-10-01Fixed #15185 -- Allowed ModelAdmin.list_display_links=None to disable change ↵Ramiro Morales
list links. Thanks rm_ for the suggestion.
2013-09-20Fixed #20702 -- Deprecated get_formsets in favor of get_formsets_with_inlines.tschilling
Thanks stanislas.guerra at gmail.com for the report.
2013-09-18Fixed #19414 -- Added admin registration decoratorBrian Holdefehr
Thanks stavros for the suggestion.
2013-09-07Improved docs for `contrib.admin.options.ModelAdmin.response_*`Pablo Mouzo
Added links to code references in the docs for `response_add`, `response_change` and `response_delete`.
2013-09-07Add docs for `response_add`, `response_change` and `response_delete`Pablo Mouzo
2013-09-06Fixed some sphinx errors and added some links.Tim Graham
2013-09-06Fixed versionadded and ordering of note in admin/index.txtAdrian Holovaty
2013-09-06Added AdminSite attributes for easily changing admin title.Adrian Holovaty
AdminSite now has overridable site_header, site_title and index_title attributes. Changed each admin view to pass these to the context (in a new AdminSite.each_context() method). The intent here is to make it easier to override these things in the common case, instead of having to override a template, which is a bigger burden.
2013-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-08-15Fixed some ReST errors regarding backticksTim Graham
2013-08-06Fixed #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.
2013-08-04Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.Loic Bistuer
Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-03Added ModelAdmin.get_search_fields.Loic Bistuer
2013-07-31Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498.SusanTan
Thanks CollinAnderson for the report.
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-24Fixed #18168 -- clarified precedence of validationPreston Holmes
any choices set by formfield_for_choice_field are still subject to model validation of the model field's choices attribute
2013-07-08Fixed #19695 -- Retitle "Form Media" to "Form Assets".James Bennett
2013-07-08Fixed #12346 -- Added a note on how to validate InlineFormSets.Tim Graham
Thanks johnsmith for the suggestion.
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
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