feat:铺装工匠增加类别字段
This commit is contained in:
parent
88d1bbe517
commit
db1a7c9592
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.12 on 2025-04-22 02:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cms', '0021_auto_20250422_1015'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='userpz',
|
||||
name='art_cate',
|
||||
field=models.CharField(blank=True, max_length=50, null=True, verbose_name='类别'),
|
||||
),
|
||||
]
|
|
@ -68,6 +68,7 @@ class Threshold(CommonModel):
|
|||
class Userpz(CommonModel):
|
||||
art_name = models.CharField('姓名', max_length=50)
|
||||
art_photo = models.CharField('照片', max_length=100)
|
||||
art_cate = models.CharField('类别', null=True, blank=True, max_length=50)
|
||||
art_remark = models.TextField('备注', null=True, blank=True, max_length=5000)
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Reference in New Issue