1. John Costa
  2. django-feature-request

Commits

John Costa  committed 518587d

use update rather than save

  • Participants
  • Parent commits 6f964ff
  • Branches default

Comments (0)

Files changed (1)

File feature_request/forms.py

View file
  • Ignore whitespace
                     'active')
         
     def save(self, request, member, submit=False):
-
         feature_request=super(FeatureRequestForm, self).save(commit=False)
         feature_request.member = member
-        feature_request.update()
+        feature_request.save()
         messages.add_message(request, messages.ERROR, 'Feature request "%s" has been saved.' % feature_request.request_title)
         return feature_request