Hello,

I'm following intructions in 
https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/apache-auth/, 
but the wsgi.py script is giving the following error:

ImportError: Could not import settings 'uddo.settings' (Is it on sys.path? 
Is there an import error in the settings file?): cannot import name 'auth'

This error raises because of the line importing the check_password 
function. Here is my wsgi.py:

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "uddo.settings")

from django.contrib.auth.handlers.modwsgi import check_password

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


The script was working fine before adding the fourth code line (import 
check_password).

Anyone knows what could be happening?

Thanks,
H.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6dd1f706-0b9c-4cc1-b295-b5917d731add%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to