Basic authentication views
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user