Django--Laboratory drug management and early warning system

Create a new conda environment:

Django--Laboratory drug management and early warning system_第1张图片

E:\program\anaconda3\envs\Django2\python.exe -m pip install -r requirements.txt

Django--Laboratory drug management and early warning system_第2张图片

source ~\lms.sql

Django--Laboratory drug management and early warning system_第3张图片

python manage.py makemigrations
python manage.py migrate

Django--Laboratory drug management and early warning system_第4张图片

Django--Laboratory drug management and early warning system_第5张图片

Django--Laboratory drug management and early warning system_第6张图片

python manage.py runserver

Django--Laboratory drug management and early warning system_第7张图片

Example Create a super administrator:

python manage.py createsuperuser

Django--Laboratory drug management and early warning system_第8张图片

Django--Laboratory drug management and early warning system_第9张图片

你可能感兴趣的:(django,python,mysql)