Simon Charette 
							
						 
					 
					
						
						
							
						
						f46ebc680b 
					 
					
						
						
							
							[1.7.x] Added warning about get_inline_instances() permission checking; refs  #23754 .  
						
						... 
						
						
						
						Backport of e0d1f2684a 
						
						
					 
					
						2014-11-25 13:15:02 -05:00 
						 
				 
			
				
					
						
							
							
								Peter Sagerson 
							
						 
					 
					
						
						
							
						
						42001e027c 
					 
					
						
						
							
							[1.7.x] Fixes a race condition in the documentation.  
						
						... 
						
						
						
						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 0d1a9d203a 
						
						
					 
					
						2014-11-16 14:33:14 +01:00 
						 
				 
			
				
					
						
							
							
								Zan Anderle 
							
						 
					 
					
						
						
							
						
						30bd586a1c 
					 
					
						
						
							
							[1.7.x] Explained why admindocs omits model methods with arguments.  
						
						... 
						
						
						
						Backport of 9e3aaa5a46 
						
						
					 
					
						2014-10-30 18:19:48 -04:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						cb952099f4 
					 
					
						
						
							
							[1.7.x]  Fixed   #23575  -- Added a code example for custom AdminSite.  
						
						... 
						
						
						
						Backport of 4a9b4a23bd 
						
						
					 
					
						2014-10-30 08:51:39 -04:00 
						 
				 
			
				
					
						
							
							
								P.A. SCHEMBRI 
							
						 
					 
					
						
						
							
						
						92628cc982 
					 
					
						
						
							
							[1.7.x] Added cross reference in admin docs to topic about saving objects in formsets.  
						
						... 
						
						
						
						Backport of 388c6038fd 
						
						
					 
					
						2014-10-29 13:39:18 -04:00 
						 
				 
			
				
					
						
							
							
								Kostochko Dmitriy 
							
						 
					 
					
						
						
							
						
						2999bf055a 
					 
					
						
						
							
							[1.7.x] Updated links in admin docs to use :ref:  
						
						... 
						
						
						
						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 
						
						
					 
					
						2014-10-06 10:46:43 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						588afbb2be 
					 
					
						
						
							
							[1.7.x]  Fixed   #17707 ,  #20734  -- Added examples to URL namespacing docs.  
						
						... 
						
						
						
						Thanks Daniele Procida for review.
Backport of a2bcec3491 
						
						
					 
					
						2014-08-26 14:35:17 -04:00 
						 
				 
			
				
					
						
							
							
								Collin Anderson 
							
						 
					 
					
						
						
							
						
						8f9dd9f256 
					 
					
						
						
							
							[1.7.x] Refs  #23276 : Removed bad examples of passing views as strings to url()  
						
						... 
						
						
						
						partial backport of a9fd740d22 
						
						
					 
					
						2014-08-12 14:44:09 -04:00 
						 
				 
			
				
					
						
							
							
								David Arcos 
							
						 
					 
					
						
						
							
						
						fb8ddac27a 
					 
					
						
						
							
							[1.7.x] Fixed a typo in the admin documentation.  
						
						... 
						
						
						
						The 'app' subpackage does not exist, should be 'app'.
Backport of b9daa4f0e1 
						
						
					 
					
						2014-07-29 12:29:32 -04:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						9fb1652ac3 
					 
					
						
						
							
							[1.7.x]  Fixed   #23123  -- Don't use a bare except in ModelAdmin documentation  
						
						... 
						
						
						
						Thanks to wkschwartz for the report and to Tim for the patch.
Backport of e5619330e2 
						
						
					 
					
						2014-07-29 11:09:40 +02:00 
						 
				 
			
				
					
						
							
							
								africa itcase 
							
						 
					 
					
						
						
							
						
						0e35ae37bb 
					 
					
						
						
							
							[1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt.  
						
						... 
						
						
						
						Backport of 06ba4b9eee 
						
						
					 
					
						2014-07-22 13:27:51 -04:00 
						 
				 
			
				
					
						
							
							
								Anders Steinlein 
							
						 
					 
					
						
						
							
						
						2914f66983 
					 
					
						
						
							
							[1.7.x]  Fixed   #17642  -- Added min_num support to modelformsets, inlines, and the admin.  
						
						... 
						
						
						
						Thanks Stephen Burrows for work on the patch as well. 
						
						
					 
					
						2014-05-15 07:02:06 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						50f228ae7c 
					 
					
						
						
							
							[1.7.x] Removed an unnecessary anchor in the docs.  
						
						... 
						
						
						
						Backport of a06808d370 
						
						
					 
					
						2014-05-13 20:55:00 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						2455699a91 
					 
					
						
						
							
							[1.7.x]  Fixed   #22613  -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.  
						
						... 
						
						
						
						Backport of 986bd41f8a 
						
						
					 
					
						2014-05-12 07:01:19 -04:00 
						 
				 
			
				
					
						
							
							
								Marti Raudsepp 
							
						 
					 
					
						
						
							
						
						ba1728dd9b 
					 
					
						
						
							
							[1.7.x] Various documentation typo/spelling fixes  
						
						... 
						
						
						
						Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
Backport of 11d453bcad 
						
						
					 
					
						2014-04-22 20:10:58 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						ae78227de3 
					 
					
						
						
							
							[1.7.x]  Fixed   #21353  -- Noted that description is ignored for TabularInlines.  
						
						... 
						
						
						
						Thanks nofinator for the report.
Backport of d5031ecf88 
						
						
					 
					
						2014-04-10 13:33:28 -04:00 
						 
				 
			
				
					
						
							
							
								Daniel Hahler 
							
						 
					 
					
						
						
							
						
						ac9c7701a7 
					 
					
						
						
							
							Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines().  
						
						
						
						
					 
					
						2014-03-19 20:37:00 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5a4f1298cf 
					 
					
						
						
							
							Fixed   #21908  -- Added example usage for ModelAdmin.get_inline_instances().  
						
						... 
						
						
						
						Thanks matt at schinckel.net for the suggestion. 
						
						
					 
					
						2014-03-03 10:40:06 -05:00 
						 
				 
			
				
					
						
							
							
								Greg Chapple 
							
						 
					 
					
						
						
							
						
						6acaa52386 
					 
					
						
						
							
							Fixed   #22135  -- Added ModelAdmin.get_changeform_initial_data().  
						
						... 
						
						
						
						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-03-03 07:28:24 -05:00 
						 
				 
			
				
					
						
							
							
								Alex de Landgraaf 
							
						 
					 
					
						
						
							
						
						ea869b5148 
					 
					
						
						
							
							Fixed   #21948  -- Noted TEMPLATE_LOADERS requirement when overriding admin templates.  
						
						... 
						
						
						
						Thanks django at patjack.co.uk for the suggestion. 
						
						
					 
					
						2014-02-28 16:38:25 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7f2505ad9e 
					 
					
						
						
							
							Fixed doc typos.  
						
						
						
						
					 
					
						2014-02-28 11:44:03 -05:00 
						 
				 
			
				
					
						
							
							
								Szczepan Cieślik 
							
						 
					 
					
						
						
							
						
						e816198034 
					 
					
						
						
							
							Fixed docs typos.  
						
						
						
						
					 
					
						2014-02-25 10:28:32 -05:00 
						 
				 
			
				
					
						
							
							
								Marcin Sokół 
							
						 
					 
					
						
						
							
						
						09b725f51b 
					 
					
						
						
							
							Fixed   #21902  -- Documented search order for list_display.  
						
						
						
						
					 
					
						2014-02-22 18:11:43 +01:00 
						 
				 
			
				
					
						
							
							
								Klemens Mantzos 
							
						 
					 
					
						
						
							
						
						f683cb90be 
					 
					
						
						
							
							Fixed   #21924  -- Added the ability to specify a reverse order for admin_order_field.  
						
						... 
						
						
						
						Thanks Klemens Mantzos for the report and initial patch. 
						
						
					 
					
						2014-02-14 19:53:44 -05:00 
						 
				 
			
				
					
						
							
							
								Alasdair Nicol 
							
						 
					 
					
						
						
							
						
						8aa1efff6d 
					 
					
						
						
							
							Fixed   #21951  -- Updated docs to use __str__ for Python 3  
						
						... 
						
						
						
						Thanks Tim Graham for the report and recommendations 
						
						
					 
					
						2014-02-13 07:12:40 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						10e3faf191 
					 
					
						
						
							
							Fixed   #19774  -- Deprecated the contenttypes.generic module.  
						
						... 
						
						
						
						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-26 14:42:30 -05:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						2ff93e027c 
					 
					
						
						
							
							Fixed   #21829  -- Added default AppConfigs.  
						
						... 
						
						
						
						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-25 10:41:56 +01:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						79e1d6ebd7 
					 
					
						
						
							
							Don't show self in the list of arguments of a method.  
						
						... 
						
						
						
						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-22 22:17:32 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6e7bd0b63b 
					 
					
						
						
							
							Fixed some admin sphinx definitions so links work properly.  
						
						
						
						
					 
					
						2014-01-19 20:29:09 -05:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						10e0cfc0e4 
					 
					
						
						
							
							Fixed   #21712  -- Moved autodiscover() to AdminConfig.ready().  
						
						... 
						
						
						
						Thanks Marc Tamlyn for the initial version of the patch. 
						
						
					 
					
						2014-01-18 23:06:00 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						c81fae6b95 
					 
					
						
						
							
							Used app_label instead of appname.  
						
						... 
						
						
						
						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-28 09:53:02 +01:00 
						 
				 
			
				
					
						
							
							
								Bouke Haarsma 
							
						 
					 
					
						
						
							
						
						a39d672ec7 
					 
					
						
						
							
							Fixed   #21386  -- Removed admindocs dependence on sites framework  
						
						... 
						
						
						
						* 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-12-18 19:44:04 +01:00 
						 
				 
			
				
					
						
							
							
								Jay Leadbetter 
							
						 
					 
					
						
						
							
						
						c74504c2dd 
					 
					
						
						
							
							Fixed   #20522  - Allowed use of partially validated object in 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-25 20:01:16 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						03bc0a8ac5 
					 
					
						
						
							
							Fixed typo in previous commit; refs  #21490 .  
						
						
						
						
					 
					
						2013-11-24 16:28:29 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						bfe7377adb 
					 
					
						
						
							
							Fixed   #21490  -- Fixed custom admin URL reverse example.  
						
						... 
						
						
						
						Thanks glarrain for the report. 
						
						
					 
					
						2013-11-24 15:19:05 -05:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						c82e850eed 
					 
					
						
						
							
							Fixed versionadded misuse in the admin documentation.  
						
						
						
						
					 
					
						2013-11-09 15:08:57 +01:00 
						 
				 
			
				
					
						
							
							
								Unai Zalakain 
							
						 
					 
					
						
						
							
						
						fd219fa24c 
					 
					
						
						
							
							Fixed   #8261  -- ModelAdmin hook for customising the "show on site" button  
						
						... 
						
						
						
						``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-29 17:10:12 -04:00 
						 
				 
			
				
					
						
							
							
								Ramiro Morales 
							
						 
					 
					
						
						
							
						
						1d0fc61b1c 
					 
					
						
						
							
							Fixed   #15185  -- Allowed ModelAdmin.list_display_links=None to disable change list links.  
						
						... 
						
						
						
						Thanks rm_ for the suggestion. 
						
						
					 
					
						2013-10-01 14:25:54 -04:00 
						 
				 
			
				
					
						
							
							
								tschilling 
							
						 
					 
					
						
						
							
						
						0d1ba84d13 
					 
					
						
						
							
							Fixed   #20702  -- Deprecated get_formsets in favor of get_formsets_with_inlines.  
						
						... 
						
						
						
						Thanks stanislas.guerra at gmail.com for the report. 
						
						
					 
					
						2013-09-20 07:47:24 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Holdefehr 
							
						 
					 
					
						
						
							
						
						98514849dc 
					 
					
						
						
							
							Fixed   #19414  -- Added admin registration decorator  
						
						... 
						
						
						
						Thanks stavros for the suggestion. 
						
						
					 
					
						2013-09-18 11:44:10 -04:00 
						 
				 
			
				
					
						
							
							
								Pablo Mouzo 
							
						 
					 
					
						
						
							
						
						2223b83a55 
					 
					
						
						
							
							Improved docs for contrib.admin.options.ModelAdmin.response_*  
						
						... 
						
						
						
						Added links to code references in the docs for `response_add`,
`response_change` and `response_delete`. 
						
						
					 
					
						2013-09-07 11:33:10 -05:00 
						 
				 
			
				
					
						
							
							
								Pablo Mouzo 
							
						 
					 
					
						
						
							
						
						9079436b00 
					 
					
						
						
							
							Add docs for response_add, response_change and response_delete  
						
						
						
						
					 
					
						2013-09-07 11:01:35 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5ca290f5db 
					 
					
						
						
							
							Fixed some sphinx errors and added some links.  
						
						
						
						
					 
					
						2013-09-06 16:15:35 -04:00 
						 
				 
			
				
					
						
							
							
								Adrian Holovaty 
							
						 
					 
					
						
						
							
						
						d179fc72cf 
					 
					
						
						
							
							Fixed versionadded and ordering of note in admin/index.txt  
						
						
						
						
					 
					
						2013-09-06 14:23:29 -05:00 
						 
				 
			
				
					
						
							
							
								Adrian Holovaty 
							
						 
					 
					
						
						
							
						
						a962286b74 
					 
					
						
						
							
							Added AdminSite attributes for easily changing admin title.  
						
						... 
						
						
						
						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-09-06 12:31:50 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7b69c3e775 
					 
					
						
						
							
							Removed versionadded/changed annotations for 1.5  
						
						
						
						
					 
					
						2013-08-19 09:09:41 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						29255fcb4f 
					 
					
						
						
							
							Fixed some ReST errors regarding backticks  
						
						
						
						
					 
					
						2013-08-15 07:14:10 -04:00 
						 
				 
			
				
					
						
							
							
								Dominic Rodger 
							
						 
					 
					
						
						
							
						
						c33d1ca1d9 
					 
					
						
						
							
							Fixed   #20852  - Fixed incorrectly generated left quotes in docs.  
						
						... 
						
						
						
						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-06 07:13:17 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						ebb3e50243 
					 
					
						
						
							
							Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.  
						
						... 
						
						
						
						Refs #18681 .
This also starts the deprecation of ModelAdmin.declared_fieldsets 
						
						
					 
					
						2013-08-04 09:14:18 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						0bcdcc7eb9 
					 
					
						
						
							
							Added ModelAdmin.get_search_fields.  
						
						
						
						
					 
					
						2013-08-03 20:02:43 -04:00