Fix in arrayfield and dictfield

This commit is contained in:
Antonio de la Rosa 2016-09-09 04:52:51 +02:00
parent bc45e1e8f6
commit 9f25071bfa
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class ArrayField(PhangoField):
def get_type_sql(self): def get_type_sql(self):
return 'TEXT NOT NULL' return 'TEXT NOT NULL DEFAULT ""'
def show_formatted(self, value): def show_formatted(self, value):

View file

@ -38,7 +38,7 @@ class DictField(PhangoField):
def get_type_sql(self): def get_type_sql(self):
return 'TEXT NOT NULL' return 'TEXT NOT NULL DEFAULT ""'
def show_formatted(self, value): def show_formatted(self, value):