You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
|
|
|
|
# Create your models here.
|
|
|
|
class BaseModels(models.Model):
|
|
|
|
update_time = models.DateTimeField(auto_now=True, verbose_name='最后更新时间', help_text='最后更新时间')
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
abstract = True # 设置为抽象类
|