Created stub templates for auth foo.
This commit is contained in:
parent
36769322b4
commit
eea7d4ffa6
@ -56,7 +56,7 @@ ROOT_URLCONF = 'lostplaces.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': [os.path.join(BASE_DIR, 'templates')],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
@ -129,3 +129,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
|
||||
|
||||
# Use custom user model
|
||||
AUTH_USER_MODEL = 'lostplaces_app.Explorer'
|
||||
|
||||
# Templates to use for authentication
|
||||
LOGIN_REDIRECT_URL = 'home'
|
||||
LOGOUT_REDIRECT_URL = 'home'
|
||||
|
0
source/lostplaces/templates/base.html
Normal file
0
source/lostplaces/templates/base.html
Normal file
0
source/lostplaces/templates/home.html
Normal file
0
source/lostplaces/templates/home.html
Normal file
0
source/lostplaces/templates/registration/login.html
Normal file
0
source/lostplaces/templates/registration/login.html
Normal file
0
source/lostplaces/templates/signup.html
Normal file
0
source/lostplaces/templates/signup.html
Normal file
Loading…
Reference in New Issue
Block a user