Django deployment problem in Apache/mod_wsgi. ImportError: Could not import settings 'site.settings'

后端 未结 5 1522
野性不改
野性不改 2021-01-05 09:15

When I\'m executing

django-admin.py startproject site

it works.
But if I\'m only copying site folder it doesn\'t work.
Why?

5条回答
  •  情话喂你
    2021-01-05 09:57

    I had a problem with a symlink not being followed from the site-packages dir. Double check your apache config and symlinks as well.

提交回复
热议问题