From 31f3a8c1ad3b6ec33c503241484107bf35cdadba Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 12 Jan 2010 23:34:03 +0000 Subject: Fixed #10640 - Adds a add_form_template option to ModelAdmin. Thanks jcsackett. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12216 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index a5b3138b44..fce694d6ac 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -712,11 +712,20 @@ view. Templates can override or extend base admin templates as described in If you don't specify this attribute, a default template shipped with Django that provides the standard appearance is used. +.. attribute:: ModelAdmin.add_form_template + +Path to a custom template that will be used by the model object creation +views. Templates can override or extend base admin templates as described in +`Overriding Admin Templates`_. + +If you don't specify this attribute, a default template shipped with Django +that provides the standard appearance is used. + .. attribute:: ModelAdmin.change_form_template -Path to a custom template that will be used by both the model object creation -and change views. Templates can override or extend base admin templates as -described in `Overriding Admin Templates`_. +Path to a custom template that will be used by the model object change views. +Templates can override or extend base admin templates as described in +`Overriding Admin Templates`_. If you don't specify this attribute, a default template shipped with Django that provides the standard appearance is used. -- cgit v1.3