[Python-modules-team] Bug#807097: Bug#807097: python-django: Undeclared removal of previously supported features causes crashes

Brian May bam at debian.org
Sun Dec 6 10:13:23 UTC 2015


Brian May <bam at debian.org> writes:

>>>> from django.template import Origin, TemplateDoesNotExist

This will only work with Django 1.7.x and 1.9.x, not Django 1.8.x

However Django 1.8.x doesn't have the reference from
django/template/loaders/filesystem.py, so shouldnt be triggering this.

Unless you somehow ended up with a mixup of Django 1.8.x and Django
1.9.x files somehow.

There appears to be a mismatch between
/usr/lib/python2.7/dist-packages/django/template/loaders/filesystem.py
and the django.template file that is getting loaded on your system.

Unfortunately the stack trace isn't saying where it is loading
django.template from, except the message seems to suggest it is finding
it somewhere.
-- 
Brian May <bam at debian.org>



More information about the Python-modules-team mailing list