diff --git a/paramecio/cromosoma/extrafields/i18nfield.py b/paramecio/cromosoma/extrafields/i18nfield.py index ca44378..bd4544f 100644 --- a/paramecio/cromosoma/extrafields/i18nfield.py +++ b/paramecio/cromosoma/extrafields/i18nfield.py @@ -40,7 +40,10 @@ class I18nField(PhangoField): return json.dumps(final_value) return json.dumps(final_value) - + + def get_type_sql(self): + + return 'TEXT NOT NULL DEFAULT ""' def obtain_lang_value(self, lang, value): @@ -50,4 +53,4 @@ class I18nField(PhangoField): return GetPostFiles.post.get(self.name+'_'+lang, '') - \ No newline at end of file +