Commits

Anonymous committed 9e169d8

fix issue #23. thanks!

  • Participants
  • Parent commits 6c650ae
  • Tags 0.1.8

Comments (0)

Files changed (1)

File couchdbkit/ext/django/forms.py

             self.instance = opts.document()
             object_data = {}
         else:
-            object_data = document_to_dict(instance, opts.fields, opts.exclude) 
+            self.instance = instance
+            object_data = document_to_dict(instance, opts.properties, opts.exclude) 
     
         if initial is not None:
             object_data.update(initial)