diff --git a/Python 12024年.doc b/Python 12024年.doc new file mode 100644 index 0000000..719b35e Binary files /dev/null and b/Python 12024年.doc differ diff --git a/Python程序设计课程设计报告模板 12024年.doc b/Python程序设计课程设计报告模板 12024年.doc deleted file mode 100644 index cb63d25..0000000 Binary files a/Python程序设计课程设计报告模板 12024年.doc and /dev/null differ diff --git a/app01/__pycache__/models.cpython-37.pyc b/app01/__pycache__/models.cpython-37.pyc index e3f0278..7c39af4 100644 Binary files a/app01/__pycache__/models.cpython-37.pyc and b/app01/__pycache__/models.cpython-37.pyc differ diff --git a/app01/migrations/0001_initial.py b/app01/migrations/0001_initial.py index c3ce8b3..f085ff5 100644 --- a/app01/migrations/0001_initial.py +++ b/app01/migrations/0001_initial.py @@ -92,7 +92,7 @@ class Migration(migrations.Migration): ('password', models.CharField(max_length=64, verbose_name='密码')), ('age', models.IntegerField(verbose_name='年龄')), ('account', models.DecimalField(decimal_places=2, default=0, max_digits=10, verbose_name='账户余额')), - ('create_time', models.DateField(verbose_name='入职时间')), + ('create_time', models.DateField(verbose_name='注册时间')), ('gender', models.SmallIntegerField(choices=[(1, '男'), (2, '女')], verbose_name='性别')), ], ), diff --git a/app01/migrations/__pycache__/0001_initial.cpython-37.pyc b/app01/migrations/__pycache__/0001_initial.cpython-37.pyc index c6e420e..06988e1 100644 Binary files a/app01/migrations/__pycache__/0001_initial.cpython-37.pyc and b/app01/migrations/__pycache__/0001_initial.cpython-37.pyc differ diff --git a/app01/models.py b/app01/models.py index f9a2fcf..41043e6 100644 --- a/app01/models.py +++ b/app01/models.py @@ -29,8 +29,8 @@ class UserInfo(models.Model): password = models.CharField(verbose_name="密码", max_length=64) age = models.IntegerField(verbose_name="年龄") account = models.DecimalField(verbose_name="账户余额", max_digits=10, decimal_places=2, default=0) - # create_time = models.DateTimeField(verbose_name="入职时间") - create_time = models.DateField(verbose_name="入职时间") + # create_time = models.DateTimeField(verbose_name="注册时间") + create_time = models.DateField(verbose_name="注册时间") gender_choices = ( (1, "男"), (2, "女"), @@ -42,12 +42,6 @@ class Movie(models.Model): depart = models.ForeignKey(verbose_name="电影类别", to="Department", to_field="id", on_delete=models.CASCADE) desc = models.CharField(verbose_name='影片描述', max_length=256,default = '') - - - - -#什么东西啊啊啊 - class Order(models.Model): """ 订单 """ oid = models.CharField(verbose_name="订单号", max_length=64) diff --git a/app01/templates/user_add.html b/app01/templates/user_add.html index 5f17dc1..470a691 100644 --- a/app01/templates/user_add.html +++ b/app01/templates/user_add.html @@ -37,8 +37,8 @@