2019-12-24 13:36:09 +00:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
# Create your models here.
|
|
|
|
|
|
|
|
class Setting(models.Model):
|
2020-01-17 15:24:53 +00:00
|
|
|
key = models.CharField(primary_key=True, max_length=255)
|
2020-05-25 17:05:55 +00:00
|
|
|
value = models.TextField()
|
2019-12-24 13:36:09 +00:00
|
|
|
|
|
|
|
def __str__(self):
|
2020-01-17 15:24:53 +00:00
|
|
|
return self.key
|