feat: added gonk and qol
This commit is contained in:
@@ -30,6 +30,7 @@ THIRD_PARTY_APPS = [
|
||||
"django_filters",
|
||||
"watchman",
|
||||
"drf_spectacular",
|
||||
"gonk",
|
||||
"rest_framework_simplejwt",
|
||||
"tailwind",
|
||||
]
|
||||
@@ -87,14 +88,14 @@ WSGI_APPLICATION = "config.wsgi.application"
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
|
||||
|
||||
DATABASES = {
|
||||
"default": DATABASE_URL,
|
||||
}
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
@@ -113,7 +114,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.2/topics/i18n/
|
||||
# https://docs.djangoproject.com/en/5.1/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = "es-es"
|
||||
|
||||
@@ -127,7 +128,7 @@ USE_TZ = True
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
||||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||
|
||||
STATIC_URL = "/static/"
|
||||
STATIC_ROOT = BASE_DIR / "static"
|
||||
@@ -184,7 +185,7 @@ SPECTACULAR_SETTINGS = {
|
||||
"SERVE_INCLUDE_SCHEMA": False,
|
||||
}
|
||||
|
||||
CELERY_BROKER_URL = env.str("CELERY_BROKER_URL", default="redis://172.17.0.1:6379/0")
|
||||
CELERY_BROKER_URL = env.str("CELERY_BROKER_URL", default="memory://localhost:8000//")
|
||||
CELERY_TIME_ZONE = TIME_ZONE
|
||||
CELERY_ALWAYS_EAGER = DEBUG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user