Fix: Use template dirs of the base class in GenshiEngine.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 May 2015 19:00:10 +0000 (21:00 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 May 2015 19:00:10 +0000 (21:00 +0200)
django_template_backend_genshi/__init__.py

index e204d1047d0d2747560791b48fc6653183577ca9..3c5a1e65cb111e969ed524c40354e013fb71fb7a 100644 (file)
@@ -11,7 +11,7 @@ class GenshiEngine(django.template.backends.base.BaseEngine):
         params = params.copy()
         options = params.pop('OPTIONS').copy()
         super(GenshiEngine, self).__init__(params)
-        loader = genshi.template.TemplateLoader(self.dirs + self.app_dirs, auto_reload=options['auto_reload'])
+        loader = genshi.template.TemplateLoader(self.template_dirs, auto_reload=options['auto_reload'])
         self.loader = loader