Basic authentication views
This commit is contained in:
parent
4c4011ba75
commit
a312791259
13 changed files with 322 additions and 24 deletions
|
@ -55,7 +55,7 @@ ROOT_URLCONF = 'fedireads.urls'
|
|||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': ['templates'],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
@ -68,6 +68,7 @@ TEMPLATES = [
|
|||
},
|
||||
]
|
||||
|
||||
|
||||
WSGI_APPLICATION = 'fedireads.wsgi.application'
|
||||
|
||||
|
||||
|
@ -85,6 +86,7 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
LOGIN_URL = 'login/'
|
||||
AUTH_USER_MODEL = 'fedireads.User'
|
||||
|
||||
# Password validation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue