1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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
This commit is contained in:
Jacob Kaplan-Moss
2009-05-08 12:53:14 +00:00
parent 38a6c48878
commit 23fa913676
3 changed files with 31 additions and 2 deletions

View File

@@ -174,6 +174,7 @@ class PersonAdmin(admin.ModelAdmin):
list_filter = ('gender',)
search_fields = (u'name',)
ordering = ["id"]
save_as = True
class Persona(models.Model):
"""