Skip to content

Commit d05c174

Browse files
changed charfield to text field
1 parent 5b97f6c commit d05c174

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

excel_2019_django_cms/api/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Event(models.Model):
99
codename = models.CharField(max_length=50, null=True)
1010
img = models.CharField(max_length=100, null=True, blank=True)
1111
# img = models.ImageField(upload_to='media', null=True)
12-
description = models.CharField(max_length=5000, null=True)
13-
info = models.CharField(max_length=5000, null=True)
12+
description = models.TextField(null=True, blank=True)
13+
info = models.TextField(blank=True, null=True)
1414
type = models.CharField(max_length=30, null=True)
1515
website = models.CharField(max_length=50, null=True)
1616
created_at = models.DateTimeField(default=datetime.now, blank=True, null=True)

0 commit comments

Comments
 (0)