Source

django-htauth /

Filename Size Date modified Message
htauth
1.5 KB
322 B
707 B

Configure your settings like so:

INSTALLED_APPS += ('htauth',) AUTHENTICATION_BACKENDS = (

'htauth.backend.HtauthBackend', )

HTAUTH_PASSWD_FILENAME = os.path.join('/path/to/my.htpasswd')

All users who log in for the first time via django-htauth will be declared superusers; this may change in a future version.