mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-14 18:09:17 +01:00
Code cleaning
This commit is contained in:
parent
ce07a938b7
commit
a318ef2dca
1 changed files with 1 additions and 1 deletions
|
|
@ -67,5 +67,5 @@ class EmField(EmComponent):
|
|||
def to_django(self):
|
||||
if self.fieldtype == 'boolean' and ('nullable' in self.options and self.options['nullable'] == 1):
|
||||
return models.NullBooleanField(**self.options)
|
||||
|
||||
|
||||
return self.fieldtypes[self.fieldtype](**self.options)
|
||||
Loading…
Add table
Add a link
Reference in a new issue