Commits

Matthew Schinckel committed a8a7248

Return a falsy value instead of None from JSONFormField.clean() method.
Resolves #1.

  • Participants
  • Parent commits a81622c

Comments (0)

Files changed (1)

jsonfield/forms.py

         we will assume that is where it has come from.
         """
         if not value: 
-            return
+            return value
         if isinstance(value, basestring):
             try:
                 return json.loads(value)