usable celery dev setup
commit 5438243b4874879196294a4072f245ebf22afd5d Author: eneller <erikneller@gmx.de> Date: Sat Apr 5 00:12:55 2025 +0200 minor celery commit 3a03c498a7e6acff1afe350ce1ae196375d19029 Author: eneller <erikneller@gmx.de> Date: Fri Apr 4 23:40:23 2025 +0200 begin celery
This commit is contained in:
@@ -69,6 +69,19 @@ TEMPLATES = [
|
||||
|
||||
WSGI_APPLICATION = "epub2go_web.wsgi.application"
|
||||
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.sqlite3",
|
||||
"NAME": BASE_DIR / "db.sqlite3",
|
||||
}
|
||||
}
|
||||
|
||||
# Celery settings
|
||||
CELERY_BROKER_URL = "redis://localhost:6379/0"
|
||||
CELERY_RESULT_BACKEND = "redis://localhost:6379/0"
|
||||
CELERY_TASK_ALWAYS_EAGER = True
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user