diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-08 12:53:14 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-08 12:53:14 +0000 |
| commit | 23fa913676d66ce4d32501618b1b74e8b2dca5fc (patch) | |
| tree | 10f069413200a2c06ccc795c40f1b8a406eb9f47 /tests/regressiontests/admin_views/models.py | |
| parent | 38a6c48878c4318fac404e6ee2454d78b26c098b (diff) | |
Fixed #10448: correcting errors on "save as new" now correctly create a new object instead of modifying the old one. Thanks, bastih.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10713 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 1aeaea1b1d..f09190b013 100644 --- a/tests/regressiontests/admin_views/models.py +++ b/tests/regressiontests/admin_views/models.py @@ -174,6 +174,7 @@ class PersonAdmin(admin.ModelAdmin): list_filter = ('gender',) search_fields = (u'name',) ordering = ["id"] + save_as = True class Persona(models.Model): """ |
