一.项目环境 语言:python3 IDE:pycharm 组件:bootstarp,jQuery 二.模型 2.1编写模型 联合唯一 class Meta:显示中文名. 认证使用django自带的User表,跟我们的用户表进行关联 from django.contrib.auth.models import User from django.db import models from django.contrib.auth.models import User # Create your mo…