Skip to content

Commit 0d80354

Browse files
committed
v2.MediaFileContent: Allow type names up to 20 chars, does not hurt
1 parent a75a00e commit 0d80354

File tree

1 file changed

+1
-1
lines changed
  • feincms/content/medialibrary

1 file changed

+1
-1
lines changed

feincms/content/medialibrary/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Meta:
4747
@classmethod
4848
def initialize_type(cls, TYPE_CHOICES=None):
4949
cls.add_to_class('type', models.CharField(_('type'),
50-
max_length=10, choices=TYPE_CHOICES, default=TYPE_CHOICES[0][0]))
50+
max_length=20, choices=TYPE_CHOICES, default=TYPE_CHOICES[0][0]))
5151

5252
def render(self, **kwargs):
5353
ctx = {'content': self}

0 commit comments

Comments
 (0)