【文件属性】:
文件名称:django-quiz:Django测验应用
文件大小:41KB
文件格式:ZIP
更新时间:2021-03-15 06:44:52
HTML
django-测验
Django测验应用
在本地运行项目
将存储库克隆到本地计算机:
git clone https://github.com/dmanojlo/django-quiz.git
创建自己的虚拟环境
py -m venv project-name
安装要求:
pip install -r requirements.txt
应用迁移:
python manage.py makemigrations
python manage.py migrate
创建新的超级用户
python manage.py createsuperuser
运行开发服务器:
python manage.py runserver
该项目将在127.0.0.1:8000上可用。
【文件预览】:
django-quiz-master
----templates()
--------socialaccount()
--------tests()
--------account()
--------openid()
----quiz()
--------models.py(913B)
--------apps.py(83B)
--------templates()
--------decorators.py(0B)
--------__init__.py(0B)
--------migrations()
--------views.py(6KB)
--------admin.py(491B)
--------tests.py(60B)
--------urls.py(2KB)
--------forms.py(1KB)
----requirements.txt(38B)
----django_quiz()
--------wsgi.py(399B)
--------__init__.py(0B)
--------settings.py(4KB)
--------asgi.py(399B)
--------urls.py(1KB)
----manage.py(667B)
----.gitignore(2KB)
----README.md(604B)