Hello everyone,
I searched all night for a solution, but I couldn't find one.
I am trying to deploy a Django project from my computer to the server.
In the server there are these folders:
.
|--- apps_wsgi
| |-- veredaeditora.wsgi
|--- awstats_data
|--- error.log
|--- www
Inside the www folder is my project, like the *manage.py* file.
I keep getting this error, don't know why.
ImportError: Could not import settings 'veredaeditora.settings' (Is it
on sys.path? Is there an import error in the settings file?): No module
named veredaeditora.settings
Below is my *veredaeditora.wsgi* file:
import os, sys
sys.path.append('/home/veredaeditora/apps_wsgi')
os.environ['PYTHON_EGG_CACHE'] =
'/home/veredaeditora/apps_wsgi/.python-eggs'
os.environ['DJANGO_SETTINGS_MODULE']='veredaeditora.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
And here is my *wsgi.py* file:
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "veredaEditora.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
When I did the startproject command, the project name was veredaEditora.
Can the capital E being causing the problema? And in my computer the django
version is 1.7.3 and in the server is 1.6.
Just to inform, I don't know anything about apache or wsgi.
Any help would be great.
Thank you!
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.