diff --git a/debian/changelog b/debian/changelog index f3ef703..0e4cf98 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ python-jingo (0.8-1) unstable; urgency=medium * Added fix-removed-TemplateDoesNotExist-from-django-1.9.patch (Closes: #806365). * Added fix-django.utils.importlib-removed-from-django-1.9.patch. + * Added add-django.contrib.sites-to-installed-apps.patch. -- Thomas Goirand Mon, 28 Dec 2015 10:04:05 +0000 diff --git a/debian/patches/add-django.contrib.sites-to-installed-apps.patch b/debian/patches/add-django.contrib.sites-to-installed-apps.patch new file mode 100644 index 0000000..f9032f2 --- /dev/null +++ b/debian/patches/add-django.contrib.sites-to-installed-apps.patch @@ -0,0 +1,15 @@ +Description: Add django.contrib.sites to INSATLLED_APPS +Author: Thomas Goirand +Forwarded: no +Last-Update: 2015-12-28 + +--- python-jingo-0.8.orig/fake_settings.py ++++ python-jingo-0.8/fake_settings.py +@@ -7,6 +7,7 @@ INSTALLED_APPS = ( + 'django.contrib.admin.apps.SimpleAdminConfig', + 'jingo.tests.jinja_app', + 'jingo.tests.django_app', ++ 'django.contrib.sites', + ) + TEMPLATE_LOADERS = ( + 'jingo.Loader', diff --git a/debian/patches/series b/debian/patches/series index 28b9247..37ea853 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ removed-problematic-functions-with-python3.patch fix-run_tests.py-with-django-1.7.patch fix-removed-TemplateDoesNotExist-from-django-1.9.patch fix-django.utils.importlib-removed-from-django-1.9.patch +add-django.contrib.sites-to-installed-apps.patch