不同环境配置
https://blog.csdn.net/happylee524/article/details/104067973
python your_project/manage.py runserver 0.0.0.0:8000 --settings=your_project.settings.set_dev
低版本MySQL
启动必须注释源码(django高版本不支持Mysql低版本)
django\db\backends\base\base.py
# self.check_database_version_supported()
django+dockerfile
FROM python:3标签:code,requirements,0.0,py,django,your From: https://www.cnblogs.com/yjh1995/p/18370224
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/