1 Star 0 Fork 333

郑武高 / Django

forked from 极客时间 / Django 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.production.bat 576 Bytes
一键复制 编辑 原始数据 按行查看 历史
# django-admin compilemessages
# --settings=settings.production
python manage.py runserver 0.0.0.0:8000 $server_params
# for async web server:
#export DJANGO_SETTINGS_MODULE=settings.production
#uvicorn recruitment.asgi:application --port 8000 --workers 2
## TODO fix Dockerfile for production in asyncio.py :
##File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 24, in inner
## raise SynchronousOnlyOperation(message)
## django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async.
Python
1
https://gitee.com/zwg-kerry/django.git
git@gitee.com:zwg-kerry/django.git
zwg-kerry
django
Django
master

搜索帮助