create header
This commit is contained in:
@@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/4.2/ref/settings/
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
@@ -57,7 +58,7 @@ ACCOUNT_AUTHENTICATION_METHOD = 'email'
|
||||
ACCOUNT_EMAIL_VERIFICATION = 'optional'
|
||||
LOGIN_REDIRECT_URL = '/profile/page/dashboard/'
|
||||
# LOGIN_URL = '/profile/login/'
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
LOGIN_URL = reverse_lazy('login_profile')
|
||||
|
||||
LOGOUT_REDIRECT_URL = '/profile/login/'
|
||||
@@ -204,9 +205,9 @@ CHANNEL_LAYERS = {
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'twbDBv2',
|
||||
'USER': 'test_user',
|
||||
'PASSWORD': 'test_db_pass',
|
||||
'NAME': 'tripwithbonus',
|
||||
'USER': 'twbuser',
|
||||
'PASSWORD': 'twbuser',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT': '5432',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user