mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
12 lines
252 B
Python
12 lines
252 B
Python
from django.db import models
|
|
|
|
# Create your models here.
|
|
|
|
class Setting(models.Model):
|
|
name = models.CharField(max_length=50, unique=True)
|
|
value = models.TextField()
|
|
|
|
def __str__(self):
|
|
|
|
return '"%s":"%s"' % (self.name, self.value)
|