mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
Initial commit
This commit is contained in:
11
comic/models.py
Normal file
11
comic/models.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user