Skip to content

Commit

Permalink
Adding save as option in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
versae committed Dec 23, 2011
1 parent 3493dd7 commit a96e7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion words/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Media:
list_filter = ('user', 'date', 'category')
date_hierarchy = 'date'
# list_editable = ('lemma', 'category', 'gender', 'number', 'person')
save_as = False
save_as = True

def save_model(self, request, obj, form, change):
obj.user = request.user
Expand Down

0 comments on commit a96e7c2

Please sign in to comment.