简体   繁体   中英

Can't host my django website on shared hosting

I am trying to deploy my django project on shared hosting. I am trying from couple of hours but still now I can't host my django website and getting "Internal Server Error Error 500".

this is my root passenger_wsgi.py

from my_root_folder_name.wsgi import application

#setting.py

ALLOWED_HOSTS = ['mydomain.com','www.mydomain.com']  

I also installed python app and django on my server. Now I am hopeless. I am trying from last five hours for host an website but still now I can't. Where I am doing mistake???

I am seeing those error from error log:

  File "/home/sellvqed/virtualenvass/dfdf/3.8/lib/python3.8/site-packages/django/apps/registry.py", line 83, in populate
    raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant

Finally I solved my problems after delete all apps and virtual folder from my hosting account. T

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM