I don't think there's any good reason not to use a TextField there.
This commit is contained in:
parent
89cd57c2bd
commit
f7414d124b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from django.db import models
|
|||
|
||||
class Setting(models.Model):
|
||||
key = models.CharField(primary_key=True, max_length=255)
|
||||
value = models.CharField(max_length=255)
|
||||
value = models.TextField()
|
||||
|
||||
def __str__(self):
|
||||
return self.key
|
||||
|
|
Loading…
Reference in a new issue