Skip to content

Commit

Permalink
[#dimpact-107] Hotfix for celery search task not showing in admin
Browse files Browse the repository at this point in the history
    - The notifications-api-common library interferes with Celery's task
      loading mechanism, which prevents tasks form our apps from showing
      up in the admin. The temporary fix is to load the library after all
      our apps
  • Loading branch information
pi-sigma authored and joeribekker committed Aug 2, 2024
1 parent 4adbc7e commit a7dd69d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/open_inwoner/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
"django_jsonform",
"simple_certmanager",
"zgw_consumers",
"notifications_api_common",
"mail_editor",
"ckeditor",
"privates",
Expand Down Expand Up @@ -238,6 +237,12 @@
"djchoices",
"django_celery_beat",
"django_celery_monitor",
# Temporary fix: the notifications lib interferes with
# celery's task loading meachanism, which prevents certain
# tasks from showing up in the admin when OIP is run with
# Docker; this needs to be fixed this in the library eventually;
# for now we load it after all our apps.
"notifications_api_common",
]

MIDDLEWARE = [
Expand Down

0 comments on commit a7dd69d

Please sign in to comment.