OnlineJudge/options/models.py
2018-05-01 12:56:23 +08:00

8 lines
177 B
Python

from django.db import models
from utils.models import JSONField
class SysOptions(models.Model):
key = models.TextField(unique=True, db_index=True)
value = JSONField()