diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-01-12 23:34:03 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-01-12 23:34:03 +0000 |
| commit | 31f3a8c1ad3b6ec33c503241484107bf35cdadba (patch) | |
| tree | ba7751b7fe6b7a6429ee590153927b4c47aed1db /tests/regressiontests/admin_views/models.py | |
| parent | 09b585e4bb250ab75264df129e341a7e731ef3b9 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_views/models.py')
| -rw-r--r-- | tests/regressiontests/admin_views/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/admin_views/models.py b/tests/regressiontests/admin_views/models.py index ffdc72620e..384a6d92a6 100644 --- a/tests/regressiontests/admin_views/models.py +++ b/tests/regressiontests/admin_views/models.py @@ -110,6 +110,7 @@ class CustomArticleAdmin(admin.ModelAdmin): """ change_list_template = 'custom_admin/change_list.html' change_form_template = 'custom_admin/change_form.html' + add_form_template = 'custom_admin/add_form.html' object_history_template = 'custom_admin/object_history.html' delete_confirmation_template = 'custom_admin/delete_confirmation.html' |
