Fix: #910 #5

Merged
ledoian merged 1 commits from django_cleanup into master 2 years ago
  1. 3
      mamweb/settings_common.py
  2. 1
      requirements.txt

3
mamweb/settings_common.py

@ -160,6 +160,9 @@ INSTALLED_APPS = (
# 'admin_tools.menu', # 'admin_tools.menu',
# 'admin_tools.dashboard', # 'admin_tools.dashboard',
'django.contrib.admin', 'django.contrib.admin',
# Nechat na konci (INSTALLED_APPS je uspořádané):
'django_cleanup.apps.CleanupConfig', # Uklízí media/
) )
DEBUG_TOOLBAR_CONFIG = { DEBUG_TOOLBAR_CONFIG = {

1
requirements.txt

@ -21,6 +21,7 @@ django-sekizai
django-countries django-countries
django-solo django-solo
django-ckeditor django-ckeditor
django-cleanup # Uklízí media/ od smazaných „databázových“ souborů
django-flat-theme django-flat-theme
django-taggit django-taggit
django-autocomplete-light>=3.9.0rc1 django-autocomplete-light>=3.9.0rc1

Loading…
Cancel
Save