four item menu"> Problemas 0 Pull Requests 0 Commits 1 Versões 0

兰海课程

basemodels.py 710B

    # -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ class CreateUpdateMixin(models.Model): status = models.BooleanField(_(u'status'), default=True, help_text=_(u'状态'), db_index=True) created_at = models.DateTimeField(_(u'created_at'), auto_now_add=True, editable=True, help_text=_(u'创建时间')) updated_at = models.DateTimeField(_(u'updated_at'), auto_now=True, editable=True, help_text=_(u'更新时间')) class Meta: abstract = True class SexChoicesMixin(models.Model): MALE = 1 FEMALE = 0 SEX_TYPE = ( (MALE, u'男'), (FEMALE, u'女'), ) class Meta: abstract = True
kodo - Gogs: Go Git Service

説明なし

Brightcells: 597ee33ba6 Pai2 => Kodo 8 年 前
..
migrations 3114315824 add pc official website 10 年 前
pc 356254dea5 Fix typo error 9 年 前
__init__.py 3114315824 add pc official website 10 年 前
admin.py fabef63211 set line_length=200 for isort 10 年 前
models.py fabef63211 set line_length=200 for isort 10 年 前
tests.py fabef63211 set line_length=200 for isort 10 年 前
views.py 597ee33ba6 Pai2 => Kodo 8 年 前