Commits

John Costa  committed 6f964ff

use update rather than save

  • Participants
  • Parent commits fc8207c

Comments (0)

Files changed (1)

File feature_request/forms.py

         feature_request=super(FeatureRequestForm, self).save(commit=False)
         feature_request.member = member
         feature_request.update()
-        messages.add_message(request, messages.ERROR, 'Feature request "%s" has been saved.' % feat_req.request_title)
-        return feat_req
+        messages.add_message(request, messages.ERROR, 'Feature request "%s" has been saved.' % feature_request.request_title)
+        return feature_request