Mercurial > pytouhou-www
diff build_website.py @ 2:0994ae3e4518
Fix compilation on Django 1.10+.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 07 Sep 2017 16:45:01 +0100 |
parents | 0a1d0ab5f518 |
children |
line wrap: on
line diff
--- a/build_website.py +++ b/build_website.py @@ -53,7 +53,7 @@ def generate_page(language): from django.template import Template, Context import gzip - settings.configure(LANGUAGE_CODE=language, LOCALE_PATHS=['locale']) + settings.configure(LANGUAGE_CODE=language, LOCALE_PATHS=['locale'], TEMPLATES=[{'BACKEND': 'django.template.backends.django.DjangoTemplates'}]) django.setup()