diff --git a/adhocracy-plus/config/settings/base.py b/adhocracy-plus/config/settings/base.py index 918427527..046a9ddc3 100644 --- a/adhocracy-plus/config/settings/base.py +++ b/adhocracy-plus/config/settings/base.py @@ -36,7 +36,6 @@ "easy_thumbnails", "ckeditor", "ckeditor_uploader", - "background_task", "parler", # Wagtail cms components "wagtail.contrib.forms", diff --git a/apps/contrib/migrations/0001_drop_background_task_table.py b/apps/contrib/migrations/0001_drop_background_task_table.py new file mode 100644 index 000000000..43cae5022 --- /dev/null +++ b/apps/contrib/migrations/0001_drop_background_task_table.py @@ -0,0 +1,17 @@ +# Generated by Django 3.2.20 on 2023-11-09 07:46 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [] + + operations = [ + migrations.RunSQL( + sql=[ + "DROP TABLE IF EXISTS background_task", + "DROP TABLE IF EXISTS background_task_completedtask", + ], + reverse_sql=migrations.RunSQL.noop, + ) + ] diff --git a/apps/contrib/migrations/__init__.py b/apps/contrib/migrations/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/changelog/7638.md b/changelog/7638.md new file mode 100644 index 000000000..b4098c799 --- /dev/null +++ b/changelog/7638.md @@ -0,0 +1,5 @@ +### Removed + +- background_task_completedtask and background_task tables +- background_task app from the settings +- background_task app from the requirements diff --git a/requirements/base.txt b/requirements/base.txt index fe84e441e..6023faa5e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -18,7 +18,6 @@ redis==5.0.0 Django==3.2.19 django-allauth==0.54.0 git+https://github.com/liqd/django-autoslug.git@liqd2212#egg=django-autoslug -django-background-tasks==1.2.5 django-ckeditor==6.5.1 django-filter==22.1 django-widget-tweaks==1.4.12