class NewBaseClass(models.Model): name = models.TextField(default='aaaaa') active = models.BooleanField(column_name='is_active', default=False) list_f = models.ListField(default=[], column_name='lista') map_f = models.MapField(default={}, column_name='mapa') class Meta: abstract = True collection_name = 'collection_name'
class Class(models.Model): name = models.TextField() active = models.BooleanField(column_name='is_active') list_f = models.ListField(blank=True) map_f = models.MapField(blank=True)
class Class2(BaseClass): map_f = models.MapField(blank=True, column_name='mapa')