Skip to content

Commit 2dc4454

Browse files
committed
Fix problem with dbtemplate loader, it wasn't declaring itself as usable
- Legacy-Id: 6928
1 parent 0006b9d commit 2dc4454

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ietf/dbtemplate/template.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def render(self, context):
6161
raise e
6262

6363
class Loader(BaseLoader):
64+
def __init__(self, *args, **kwargs):
65+
super(Loader, self).__init__(self, *args, **kwargs)
66+
self.is_usable = True
6467

6568
def load_template_source(self, template_name, template_dirs=None):
6669
try:

0 commit comments

Comments
 (0)