ImportError:没有名为vanilla_project.settings.dev的模块

时间:2017-06-23 18:39:46

标签: django apache2 wsgi forum

的Apache。 Django的。论坛:http://django-machina.readthedocs.io 使用git clone安装并迁移

为什么apache没有看到settings.dev文件?

apache2.conf:

WSGIScriptAlias / /var/www/django-machina/example_projects/vanilla/wsgi.py

WSGIPythonPath /var/www/django-machina/example_projects

<Directory /var/www/django-machina/example_projects>
        <Files wsgi.py>
                Require all granted
        </Files>
</Directory>

Alias /static/ /var/www/django-machina/example_projects/static/
<Location "/static/">
    Options -Indexes
</Location>

0 个答案:

没有答案