Skip to content

Commit

Permalink
fixes bug with typo my haste with the admin save_model created_by set
Browse files Browse the repository at this point in the history
  • Loading branch information
howiworkdaily committed Sep 30, 2008
1 parent 3f468ca commit eea9f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq/admin.py
Expand Up @@ -13,7 +13,7 @@ def save_model(self, request, obj, form, change):

instance = form.save( commit=False )
if instance.id is None:
instance.parentscreated_by = request.user
instance.created_by = request.user

instance.updated_by = request.user
instance.save()
Expand Down

0 comments on commit eea9f69

Please sign in to comment.