Increased element field from 255 to 1000 characters
This commit is contained in:
parent
36acc9137d
commit
d48f2f5d5c
@ -10,7 +10,7 @@ def random_url():
|
||||
|
||||
class Feed(models.Model):
|
||||
url = models.URLField(max_length=255)
|
||||
element = models.CharField(max_length=255)
|
||||
element = models.CharField(max_length=1000)
|
||||
title = models.CharField(max_length=255)
|
||||
content = models.CharField(max_length=255)
|
||||
date = models.CharField(max_length=255)
|
||||
@ -18,4 +18,4 @@ class Feed(models.Model):
|
||||
link = models.CharField(max_length=255)
|
||||
creation_date = models.DateTimeField(auto_now=True)
|
||||
|
||||
uurl = models.CharField(max_length=18, default=random_url, unique=True)
|
||||
uurl = models.CharField(max_length=18, default=random_url, unique=True)
|
||||
|
Loading…
Reference in New Issue
Block a user