From f7414d124b0d24a0f77417ead891d7f6c366a4dc Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 25 May 2020 19:05:55 +0200 Subject: [PATCH] I don't think there's any good reason not to use a TextField there. --- dbsettings/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbsettings/models.py b/dbsettings/models.py index 9bb79ef..b5bc7ff 100644 --- a/dbsettings/models.py +++ b/dbsettings/models.py @@ -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