I am working with django .90, but I have a Mysql db in setting.py and
I am
trying to link Django with this DB. I run this command to do this.
export DJANGO_SETTINGS_MODULE=app.settings No errors
then
django-admin.py init --settings=app.settings I get this error.
EnvironmentError: Could not import DJANGO_SETTINGS_MODULE
'app.settings' (is it on sys.path?): No module named app.settings
I edited the httpd.conf and put this in:
<location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE app.settings
PythonPath "['/home/bryant/Django-0.90/django.90_projects'] +
sys.path"
</location>
Is this what I need?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---