Hello Collin, Yes, commenting out the check_password line fixes the problem. On settings, I'm importing User from django.contrib.auth.models. I discovered that commenting out that stops the ImportError. However, the authentication doesn't happen when I visit my secret location. Apache simply shows its content. I followed the cited guide closely, here is the relevant part of my apache configuration:
### LoadModule authz_user_module modules/mod_authz_user.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule wsgi_module modules/mod_wsgi.so <Directory "/srv/http"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> Alias /dav /srv/http/dav <Location "/dav"> AuthType Basic AuthName "Top Secret" Require valid-user AuthBasicProvider wsgi WSGIAuthUserScript /path/to/django/project/wsgi.py </Location> I understand that, when hitting http://localhost/dav/, my django's project credentials should be asked by the page. What can be happeing? Thanks, H. On Thursday, August 14, 2014 5:22:27 PM UTC-4, Collin Anderson wrote: > > Does commenting out the check_password line in wsgi.py actually fix the > problem? Are you importing "auth" somewhere in your settings? > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/851f4960-3946-4bfa-8e9a-ca2e4f870e3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.