Browse Source

Code cleaning

Roland Haroutiounian 9 years ago
parent
commit
a318ef2dca
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/fields.py

+ 1
- 1
EditorialModel/fields.py View File

67
     def to_django(self):
67
     def to_django(self):
68
         if self.fieldtype == 'boolean' and ('nullable' in self.options and self.options['nullable'] == 1):
68
         if self.fieldtype == 'boolean' and ('nullable' in self.options and self.options['nullable'] == 1):
69
             return models.NullBooleanField(**self.options)
69
             return models.NullBooleanField(**self.options)
70
-        
70
+
71
         return self.fieldtypes[self.fieldtype](**self.options)
71
         return self.fieldtypes[self.fieldtype](**self.options)

Loading…
Cancel
Save