[Answered ]-DatabaseError: no such table: django_template


This is because you have “dbtemplates.loader.Loader” in TEMPLATE_LOADERS, but “dbtemplates” is not is INSTALLED_APPS.

So either add “dbtemplates” to INSTALLED_APPS and syncdb, either remove “dbtemplates.loader.Loader” from TEMPLATE_LOADERS.

Note: if you’re going to use dbtemplates, then you should really use JohnnyCache if you don’t want database queries at each template load.


Leave a comment