jeudi 12 mars 2015

Python django module does not define attribute error, but the attribute is there in the code


Vote count:

0




I get the following error when trying to build a migration in django 1.6.8:



django.core.exceptions.ImproperlyConfigured: Module "django.template.loaders.app_directories" does not define a "Loader" attribute/class


I'm running the migration with the command:



django-admin.py migrate cms_page --settings=path.to.settings


I've checked django.templates.loads.app_diretories and it does in fact define the class Loader class.


I don't know where to start looking to debug this. I can post additional output, settings etc, whatever's useful but I don't want to start with five hundred lines of settings and backtrace!



asked 1 min ago







Python django module does not define attribute error, but the attribute is there in the code

Aucun commentaire:

Enregistrer un commentaire