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.
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.
Metadata
Release files for django-htauth 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-htauth-0.1.tar.gz | 3.6 kB | Details |
Release files / django-htauth-0.1.tar.gz
| Download URL | django-htauth-0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ba41e320d27f3106a6d7be41ed7c92cd42eebf6d1d5f0161223adcb606c6440
|
|
BLAKE2b-256 checksum How to use checksums |
909f70015ba78f7ff17ad0f2cc060bdc43e9c8fc21b70ee6c32418c1dc0cd1a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |