# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models
class AuthGroup(models.Model):
name = models.CharField(unique=True, max_length=150)
class Meta:
managed = False
db_table = 'auth_group'
class AuthGroupPermissions(models.Model):
id = models.BigAutoField(primary_key=True)
group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
permission = models.ForeignKey('AuthPermission', models.DO_NOTHING)
class Meta:
managed = False
db_table = 'auth_group_permissions'
unique_together = (('group', 'permission'),)
class AuthPermission(models.Model):
name = models.CharField(max_length=255)
content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
codename = models.CharField(max_length=100)
class Meta:
managed = False
db_table = 'auth_permission'
unique_together = (('content_type', 'codename'),)
class AuthUser(models.Model):
password = models.CharField(max_length=128)
last_login = models.DateTimeField(blank=True, null=True)
is_superuser = models.IntegerField()
username = models.CharField(unique=True, max_length=150)
first_name = models.CharField(max_length=150)
last_name = models.CharField(max_length=150)
email = models.CharField(max_length=254)
is_staff = models.IntegerField()
is_active = models.IntegerField()
date_joined = models.DateTimeField()
class Meta:
managed = False
db_table = 'auth_user'
class AuthUserGroups(models.Model):
id = models.BigAutoField(primary_key=True)
user = models.ForeignKey(AuthUser, models.DO_NOTHING)
group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
class Meta:
managed = False
db_table = 'auth_user_groups'
unique_together = (('user', 'group'),)
class AuthUserUserPermissions(models.Model):
id = models.BigAutoField(primary_key=True)
user = models.ForeignKey(AuthUser, models.DO_NOTHING)
permission = models.ForeignKey(AuthPermission, models.DO_NOTHING)
class Meta:
managed = False
db_table = 'auth_user_user_permissions'
unique_together = (('user', 'permission'),)
class CanteenInfo(models.Model):
canteen_id = models.IntegerField(primary_key=True)
canteen_name = models.CharField(max_length=20, blank=True, null=True)
max_capacity = models.IntegerField(blank=True, null=True)
class Meta:
managed = False
db_table = 'canteen_info'
class CuisineInfo(models.Model):
cuisine_id = models.IntegerField(primary_key=True)
store = models.ForeignKey('StoreInfo', models.DO_NOTHING, blank=True, null=True)
cuisine_name = models.CharField(max_length=20, blank=True, null=True)
cuisine_price = models.FloatField(blank=True, null=True)
cuisine_photo = models.TextField(blank=True, null=True)
cuisine_comment = models.CharField(max_length=100, blank=True, null=True)
cuisine_description = models.CharField(max_length=100, blank=True, null=True)
class Meta:
managed = False
db_table = 'cuisine_info'
class CustomerInfo(models.Model):
customer_id = models.IntegerField(primary_key=True)
customer_name = models.CharField(max_length=20, blank=True, null=True)
address = models.CharField(max_length=50, blank=True, null=True)
phone_number = models.DecimalField(max_digits=12, decimal_places=0, blank=True, null=True)
�
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目介绍】 课程设计-基于Django+html+css的校园外卖配送平台系统源码+项目说明.zip 一:功能总描述: 1.用户注册(普通用户、食堂管理员、商家); 2商家可进行菜品维护(新增、删除); 3.普通用户可浏览商铺,进入商铺浏览菜品、下订单(设置地址、设置购买数量)、查看订单信息等; 4.商家可浏览订单、接单。 【备注】 1.项目代码均经过功能验证,确保稳定可靠运行。欢迎下载食用体验! 2.主要针对各个计算机相关专业,包括计算机科学、信息安全、数据科学与大数据技术、人工智能、通信、物联网等领域的在校学生、专业教师、企业员工。 3.项目具有丰富的拓展空间,不仅可作为入门进阶,也可作为毕设、课程设计、大作业、初期项目立项演示等用途。 4.鼓励大家基于此进行二次开发。在使用过程中,如有问题或建议,请及时沟通。 5.期待你能在项目中找到乐趣和灵感,也欢迎你的分享和反馈!
资源推荐
资源详情
资源评论
收起资源包目录
课程设计-基于Django+html+css的校园外卖配送平台系统源码+项目说明.zip (75个子文件)
项目说明.md 476B
lab3
db.sqlite3 0B
operation
__init__.py 0B
tests.py 63B
admin.py 66B
migrations
__init__.py 0B
0001_initial.py 5KB
0002_authgroup_authgrouppermissions_authpermission_and_more.py 5KB
__pycache__
0002_authgroup_authgrouppermissions_authpermission_and_more.cpython-38.pyc 2KB
0001_initial.cpython-38.pyc 2KB
__init__.cpython-38.pyc 167B
apps.py 159B
models.py 8KB
urls.py 454B
__pycache__
models.cpython-38.pyc 9KB
urls.cpython-38.pyc 479B
admin.cpython-38.pyc 197B
apps.cpython-38.pyc 438B
form.cpython-38.pyc 745B
__init__.cpython-38.pyc 156B
views.cpython-38.pyc 5KB
form.py 324B
views.py 9KB
CCDS_django
__init__.py 66B
models.py 0B
wsgi.py 415B
urls.py 907B
settings.py 4KB
__pycache__
wsgi.cpython-38.pyc 565B
models.cpython-38.pyc 152B
urls.cpython-38.pyc 1KB
settings.cpython-38.pyc 3KB
__init__.cpython-38.pyc 196B
asgi.py 415B
models.py 16KB
templates
CCDS_django
templates
store_info.html 2KB
process_order.html 3KB
merchant_info.html 1KB
customer_info.html 2KB
pay_success.html 676B
manage_cuisine.html 2KB
login_in.html 1KB
sign_up.html 2KB
order_info.html 2KB
manager_info.html 917B
homepage.html 1KB
user
__init__.py 0B
tests.py 63B
admin.py 66B
migrations
__init__.py 0B
0001_initial.py 4KB
0003_authgroup_authgrouppermissions_authpermission_and_more.py 5KB
__pycache__
0003_authgroup_authgrouppermissions_authpermission_and_more.cpython-38.pyc 2KB
0002_cuisineinfo_ordercontext_orderinfo_storeinfo_and_more.cpython-38.pyc 2KB
0001_initial.cpython-38.pyc 2KB
__init__.cpython-38.pyc 158B
0002_cuisineinfo_ordercontext_orderinfo_storeinfo_and_more.py 3KB
apps.py 146B
models.py 8KB
urls.py 530B
__pycache__
models.cpython-38.pyc 9KB
urls.cpython-38.pyc 615B
admin.cpython-38.pyc 188B
apps.cpython-38.pyc 420B
form.cpython-38.pyc 930B
__init__.cpython-38.pyc 147B
views.cpython-38.pyc 5KB
form.py 658B
views.py 9KB
manage.py 689B
static
css
button.css 740B
ls_style.css 662B
homepagestyle.css 844B
user_info.css 1KB
avatar.jpeg 60KB
共 75 条
- 1
资源评论
.whl
- 粉丝: 3842
- 资源: 4699
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功