Class Selection Manage System, 选课管理系统
Abandoned 项目终止
Install requirements:
pip3 install django==3.2.8
pip3 install psycopg2==2.9.1
Database Setup:
python manage.py makemigrations
python manage.py makemigrations user
python manage.py makemigrations mgmt
python manage.py makemigrations course
python manage.py migrate
Create Superuser Account:
python manage.py createsuperuser
- student opeartion
- search course
比如UpdateTeacherView和UpdateStudentView里面获取不到view方法传入的其他参数 解决方法: 重写get_context_data(), 在里面先写入固定的参数