Deleted description field
This commit is contained in:
parent
def1372317
commit
a9f5a5b98f
|
|
@ -20,4 +20,8 @@ class Migration(migrations.Migration):
|
|||
name='start',
|
||||
field=models.DateTimeField(blank=True, default=None, null=True, verbose_name='start'),
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='collection',
|
||||
name='description',
|
||||
)
|
||||
]
|
||||
|
|
|
|||
|
|
@ -74,9 +74,9 @@ class Collection(ProjectBaseMixin, CollectionDateMixin,
|
|||
block_size = JSONField(
|
||||
_('collection block properties'), null=True, blank=True,
|
||||
default=None, help_text='{"width": "250px", "height":"250px"}')
|
||||
description = TJSONField(
|
||||
_('description'), null=True, blank=True,
|
||||
default=None, help_text='{"en-GB":"some text"}')
|
||||
# description = TJSONField(
|
||||
# _('description'), null=True, blank=True,
|
||||
# default=None, help_text='{"en-GB":"some text"}')
|
||||
slug = models.SlugField(max_length=50, unique=True,
|
||||
verbose_name=_('Collection slug'), editable=True, null=True)
|
||||
old_id = models.IntegerField(null=True, blank=True)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class CollectionBackOfficeSerializer(CollectionBaseSerializer):
|
|||
'country',
|
||||
'country_id',
|
||||
# 'block_size',
|
||||
'description',
|
||||
# 'description',
|
||||
'slug',
|
||||
# 'start',
|
||||
# 'end',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user