まず、インストールする。 pip install django-cleanup. 後は settings.py の INSTALLED_APPS に "django_cleanup" を追加する ...
確定! 回上一頁