Commits

John Costa committed fc8207c

use update rather than save

Comments (0)

Files changed (1)

feature_request/forms.py

                     'active')
         
     def save(self, request, member, submit=False):
-        super(FeatureRequestForm, self).save(commit=False)
-        self.member = member
-        self.save()
-        messages.add_message(request, messages.ERROR, 'Feature request "%s" has been saved.' % self.request_title)
-        return self
+
+        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