Basic authentication views

This commit is contained in:
Mouse Reeve
2020-01-25 15:25:19 -08:00
parent 4c4011ba75
commit a312791259
13 changed files with 322 additions and 24 deletions

View File

@ -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