1
0
Fork 0
mirror of https://github.com/Findus23/PaperLibrary.git synced 2024-09-08 03:13:48 +02:00

cleanup media

This commit is contained in:
Lukas Winkler 2023-05-12 16:34:07 +02:00
parent c05a4eb503
commit 60dec4349b
Signed by: lukas
GPG key ID: 54DE4D798D244853
3 changed files with 24 additions and 3 deletions

View file

@ -41,7 +41,8 @@ INSTALLED_APPS = [
'debug_toolbar',
'rest_framework',
"rest_framework.authtoken",
'django_rq'
'django_rq',
'django_unused_media'
]
MIDDLEWARE = [

23
poetry.lock generated
View file

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand.
# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.
[[package]]
name = "about-time"
@ -285,6 +285,25 @@ rq = ">=1.2"
sentry = ["raven (>=6.1.0)"]
testing = ["mock (>=2.0.0)"]
[[package]]
name = "django-unused-media"
version = "0.2.2"
description = "Delete unused media files from Django project"
category = "main"
optional = false
python-versions = "*"
files = [
{file = "django-unused-media-0.2.2.tar.gz", hash = "sha256:8f46b5a7d3e10f09e31126aefb2efe24e3dedb6a89daf786f7e055c5298668ee"},
{file = "django_unused_media-0.2.2-py3-none-any.whl", hash = "sha256:390d0cfa4ac9e4d0c4de0878b42bda41ed188fa62b0032fdf0a266e7136ce013"},
]
[package.dependencies]
django = ">=1.8"
six = "*"
[package.extras]
tests = ["coverage", "coveralls", "django-nose", "flake8", "isort", "mock", "nose", "preggy", "pypandoc", "tox (<2.0)", "twine", "yanc"]
[[package]]
name = "djangoql"
version = "0.17.1"
@ -758,4 +777,4 @@ watchdog = ["watchdog (>=2.3)"]
[metadata]
lock-version = "2.0"
python-versions = "^3.8"
content-hash = "73818dad91d7605f310f5648771f450a44f10fd7fc0e567cdc27a01e06f404d3"
content-hash = "8ca65b11b565d3bde22809db09c143cef097c6b01b07d025c471511614b4259b"

View file

@ -19,6 +19,7 @@ setproctitle = "^1.2.2"
redis = "^4.2.2"
rq = "^1.10.1"
django-rq = "^2.5.1"
django-unused-media = "^0.2.2"
[tool.poetry.dev-dependencies]