Commit 122e640c authored by gab's avatar gab

installed apps + implemented CustomUser

parent ca383611
...@@ -40,6 +40,9 @@ INSTALLED_APPS = [ ...@@ -40,6 +40,9 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'accounts',
'eventcatalog',
'bootstrap5',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
...@@ -57,7 +60,7 @@ ROOT_URLCONF = 'redbrickboard.urls' ...@@ -57,7 +60,7 @@ ROOT_URLCONF = 'redbrickboard.urls'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [], "DIRS": [BASE_DIR / "templates"],
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
...@@ -124,3 +127,7 @@ STATIC_URL = 'static/' ...@@ -124,3 +127,7 @@ STATIC_URL = 'static/'
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
LOGIN_REDIRECT_URL = "index"
LOGOUT_REDIRECT_URL = "index"
AUTH_USER_MODEL = "accounts.CustomUser"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment