Browse files

Return the opinion object after it's saved

I suspect this was the result of git doing some naughty
merging and me not paying close enough attention. Fixed now.
  • Loading branch information...
tofumatt committed Jun 7, 2011
1 parent 0bd3cc7 commit 0e02e471d03b4510f02e8cdbbc5927a60efcba73
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/feedback/
@@ -145,7 +145,7 @@ def save_opinion_from_form(request, type, ua, form):
if type not in input.OPINION_TYPES:
raise ValueError('Unknown type %s' % type)
- return Opinion(
+ opinion = Opinion(
url=form.cleaned_data.get('url', ''),

0 comments on commit 0e02e47

Please sign in to comment.