使用 SysOptions
This commit is contained in:
7
options/models.py
Normal file
7
options/models.py
Normal 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()
|
||||
Reference in New Issue
Block a user