使用 SysOptions

This commit is contained in:
virusdefender
2017-10-02 03:54:34 +08:00
parent d650252a1a
commit 9990cf647a
19 changed files with 297 additions and 172 deletions

7
options/models.py Normal file
View File

@@ -0,0 +1,7 @@
from django.db import models
from jsonfield import JSONField
class SysOptions(models.Model):
key = models.CharField(max_length=128, unique=True, db_index=True)
value = JSONField()