diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 15 |
1 files changed, 12 insertions, 3 deletions
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. |
