Projet

Général

Profil

0001-debian-config-change-django-settings-compatibility-w.patch

Anonyme, 24 mai 2018 18:40

Télécharger (825 octets)

Voir les différences:

Subject: [PATCH] debian config: change django settings compatibility with
 TEMPLATES (#23035)

 debian/debian_config_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/debian_config_common.py
162 162
STATIC_ROOT = os.path.join(VAR_DIR, 'collectstatic')
163 163

  
164 164
# template settings
165
if 'TEMPLATE_DEBUG' in globals():
165
if len(TEMPLATES) == 0:
166 166
    # compatibility with django<1.10
167 167
    if PROJECT_NAME != 'wcs':
168 168
        TEMPLATE_LOADERS = (
169
-