1, the configuration file is not written:
= /Www/wwwroot/websit/websit/wsgi.py wsgi-file # cause Internal Server Error
2, admin lost style
#settings.py添加
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)#运行 python manage.py collectstatic