#add message
This commit is contained in:
parent
0893dc410f
commit
fd15ae8736
|
@ -783,4 +783,22 @@ class Comment(models.Model):
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.user
|
return self.user
|
||||||
|
|
||||||
|
#新媒体更新表(国办)
|
||||||
|
class Newmediaupdate(models.Model):
|
||||||
|
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||||
|
organization_name = models.CharField('单位全称',max_length=256,null=True,blank=True)
|
||||||
|
organization_id_code = models.CharField('单位唯一标识码',max_length=256,null=True,blank=True)
|
||||||
|
identificationcode = models.CharField('新媒体标识码',max_length=256,null=True,blank=True)
|
||||||
|
newmedia_name = models.CharField('账号名称',max_length=256,null=True,blank=True)
|
||||||
|
newmedia_type = models.CharField('账号类型',max_length=256,null=True,blank=True)
|
||||||
|
function = models.CharField('功能', max_length=256, null=True, blank=True)
|
||||||
|
province = models.CharField('省', max_length=256, null=True, blank=True)
|
||||||
|
cities = models.CharField('市', max_length=256, null=True, blank=True)
|
||||||
|
district = models.CharField('县', max_length=256, null=True, blank=True)
|
||||||
|
articleurl = models.TextField('文章URL', null=True, blank=True)
|
||||||
|
biz = models.TextField('BIZ,账号id', null=True, blank=True)
|
||||||
|
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||||
|
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.newmedia_name
|
Loading…
Reference in New Issue