Tidy up after a long absence
This commit is contained in:
parent
3931d2ccbd
commit
fea7c0eeb9
28 changed files with 2444 additions and 376 deletions
|
|
@ -21,29 +21,28 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = "django-insecure-x%rs&gy9iphje-l+!^!g@s@w$4@oc0^honvnr-!edwm+uujiu2"
|
||||
SECRET_KEY = (
|
||||
"django-insecure-x%rs&gy9iphje-l+!^!g@s@w$4@oc0^honvnr-!edwm+uujiu2"
|
||||
)
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
"gcs.neill.id.au",
|
||||
"localhost",
|
||||
"127.0.0.1",
|
||||
]
|
||||
"gcs.neill.id.au",
|
||||
"localhost",
|
||||
"127.0.0.1",
|
||||
]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://gcs.neill.id.au",
|
||||
]
|
||||
]
|
||||
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
|
||||
# Needed to log in by username in Django admin, regardless of `allauth`
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
|
||||
"django.contrib.auth.backends.ModelBackend",
|
||||
# `allauth` specific authentication methods, such as login by email
|
||||
'allauth.account.auth_backends.AuthenticationBackend',
|
||||
|
||||
"allauth.account.auth_backends.AuthenticationBackend",
|
||||
]
|
||||
|
||||
# Application definition
|
||||
|
|
@ -55,20 +54,18 @@ INSTALLED_APPS = [
|
|||
"django.contrib.contenttypes",
|
||||
"django.contrib.sessions",
|
||||
"django.contrib.messages",
|
||||
|
||||
'allauth',
|
||||
'allauth.account',
|
||||
'allauth.socialaccount',
|
||||
"allauth",
|
||||
"allauth.account",
|
||||
"allauth.socialaccount",
|
||||
# ... include the providers you want to enable:
|
||||
'allauth.socialaccount.providers.amazon',
|
||||
'allauth.socialaccount.providers.apple',
|
||||
'allauth.socialaccount.providers.google',
|
||||
|
||||
"allauth.socialaccount.providers.amazon",
|
||||
"allauth.socialaccount.providers.apple",
|
||||
"allauth.socialaccount.providers.google",
|
||||
"django.contrib.staticfiles",
|
||||
# "tailwind",
|
||||
# "theme",
|
||||
"django_browser_reload",
|
||||
'django_bootstrap_icons',
|
||||
"django_bootstrap_icons",
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
@ -97,7 +94,7 @@ TEMPLATES = [
|
|||
"django.template.context_processors.request",
|
||||
"django.contrib.auth.context_processors.auth",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
'django.template.context_processors.request',
|
||||
"django.template.context_processors.request",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
@ -169,7 +166,7 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
TAILWIND_APP_NAME = 'theme'
|
||||
TAILWIND_APP_NAME = "theme"
|
||||
|
||||
INTERNAL_IPS = [
|
||||
"127.0.0.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue