I am trying to use apache to serve my development site locally.

I am trying to implement download functionality and figured since it was 
best done through a web server that I would just serve the with apache from 
now on.

Is this recommended to start using your django site with a web server early?

Anyways I installed mod_wsgi and it seemed to work.

I am just trying to use http://localhost

but when I go there I get the error 

[Fri Apr 19 13:29:35 2013] [error] [client 127.0.0.1] ImportError: Could 
not import settings 'PLP.settings' (Is it on sys.path?): No module named 
PLP.settings


I am linking to wsgi.py which contains.

import os

os.environ["DJANGO_SETTINGS_MODULE"] = "PLP.settings"
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PLP.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

I tried:

>>> import sys
>>> sys,path.append(PATH_TO_DJANGO_PROJECT)

but if I close the interpreter and open it again, it is not in sys.path 
anymore.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to