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:
@@ -174,6 +174,7 @@ class PersonAdmin(admin.ModelAdmin):
|
||||
list_filter = ('gender',)
|
||||
search_fields = (u'name',)
|
||||
ordering = ["id"]
|
||||
save_as = True
|
||||
|
||||
class Persona(models.Model):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user