Update README.md
1.安装requirements.txt依赖包(环境) pip install -r requirements.txt 2.修改settings.py下的数据库配置 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'NAME': 'lms', 'HOST': '127.0.0.1', 'PORT': '3306', 'USER': 'root', 'PASSWORD': 'root' } } 3.导入数据库文件lms.sql python manage.py makemigrations python manage.py migrate #上面两步进行迁移,完成数据库表的建立 4.命令行输入 python manage.py runserver #默认端口开在127.0.0.1:8000 PS:#创建超级管理员用户 python manage.py createsuperuser 5.然后浏览器打开localhost:8080/127.0.0.1:8000/进入管理系统
学生端
管理端
页面展示
学生端

管理端
