diff --git a/src/agenda_culturel/settings/base.py b/src/agenda_culturel/settings/base.py index b732b1d..b2b505a 100644 --- a/src/agenda_culturel/settings/base.py +++ b/src/agenda_culturel/settings/base.py @@ -63,6 +63,7 @@ INSTALLED_APPS = [ "cache_cleaner", "honeypot", "template_profiler_panel", + 'django_cleanup.apps.CleanupConfig', ] HONEYPOT_FIELD_NAME = "alias_name" diff --git a/src/requirements.txt b/src/requirements.txt index 2b82b17..63a76d5 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -39,11 +39,12 @@ lxml==5.1.0 bbcode==1.1.0 json5==0.9.25 django-location-field==2.7.3 -django-robots==6.1 -django-debug-toolbar==4.4.6 +django-robots==6.1 +django-debug-toolbar==4.4.6 django-cache-cleaner==0.1.0 emoji==2.14.0 django-honeypot==1.2.1 django-autoslug==1.9.9 django-debug-toolbar-template-profiler==2.1.0 -requests==2.32.3 \ No newline at end of file +requests==2.32.3 +django-cleanup==9.0.0