Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/t/statusboard-HEAD/statusboard/core/models.py   statusboard(Download)
from django_extensions.db.fields import CreationDateTimeField
 
from statusboard.core.db import JSONField
 
class Settings(models.Model):
    class Meta:
        db_table = 'statusboard_settings'
    user = models.ForeignKey(User, unique=True, related_name='statusboard_settings', verbose_name=_('user'))
    authenticated = models.BooleanField(_('authenticated'))
    grid = JSONField(_('grid'))
    until = models.DateTimeField(_('run until timestamp'))
    args_hash = models.CharField(_('arguments hash'), max_length=40)
    args = JSONField(_('arguments'))
 
    objects = ForUpdateManager()