Skip to content

Commit

Permalink
Add django-cleanup to replace or remove unused media
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoreta committed Mar 19, 2024
1 parent 9020845 commit ccd0fc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appmes/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'django_filters',

'django_cleanup.apps.CleanupConfig', # Needs to be at the end
]

MIDDLEWARE = [
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
django==5.0.0
django-admin-interface==0.24.2
django-ckeditor==6.7.0
django-cleanup==8.1.0
django-csp==3.7
django-environ==0.11.2
django-filter==23.5
Expand Down

0 comments on commit ccd0fc2

Please sign in to comment.