|
|
@ -93,7 +93,7 @@ class Task(models.Model):
|
|
|
|
|
|
|
|
|
|
|
|
# user_id
|
|
|
|
# user_id
|
|
|
|
user = models.ForeignKey(verbose_name="负责人", to="Admin", on_delete=models.CASCADE)
|
|
|
|
user = models.ForeignKey(verbose_name="负责人", to="Admin", on_delete=models.CASCADE)
|
|
|
|
|
|
|
|
#什么东西啊啊啊
|
|
|
|
|
|
|
|
|
|
|
|
class Order(models.Model):
|
|
|
|
class Order(models.Model):
|
|
|
|
""" 订单 """
|
|
|
|
""" 订单 """
|
|
|
@ -116,7 +116,7 @@ class Boss(models.Model):
|
|
|
|
age = models.IntegerField(verbose_name="年龄")
|
|
|
|
age = models.IntegerField(verbose_name="年龄")
|
|
|
|
img = models.CharField(verbose_name="头像", max_length=128)
|
|
|
|
img = models.CharField(verbose_name="头像", max_length=128)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#我哪里来的老板啊
|
|
|
|
class City(models.Model):
|
|
|
|
class City(models.Model):
|
|
|
|
""" 城市 """
|
|
|
|
""" 城市 """
|
|
|
|
name = models.CharField(verbose_name="名称", max_length=32)
|
|
|
|
name = models.CharField(verbose_name="名称", max_length=32)
|
|
|
|