mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
for some strange reason timezone needs to be defined here again...
This commit is contained in:
parent
0b0634273a
commit
3d0bb40da6
@ -34,6 +34,7 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
|
|||||||
app = Celery("tasks", broker=f"redis://{REDIS_HOST}:{REDIS_PORT}")
|
app = Celery("tasks", broker=f"redis://{REDIS_HOST}:{REDIS_PORT}")
|
||||||
app.config_from_object("django.conf:settings", namespace="ta:")
|
app.config_from_object("django.conf:settings", namespace="ta:")
|
||||||
app.autodiscover_tasks()
|
app.autodiscover_tasks()
|
||||||
|
app.conf.timezone = os.environ.get("TZ") or "UTC"
|
||||||
|
|
||||||
|
|
||||||
@shared_task(name="update_subscribed")
|
@shared_task(name="update_subscribed")
|
||||||
|
Loading…
Reference in New Issue
Block a user