Skip to content

Commit

Permalink
Implement the reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Jul 22, 2014
1 parent 40b0bc4 commit e5e32de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app_namespace/loader.py
Expand Up @@ -22,7 +22,13 @@ class Loader(BaseLoader):
a template provided by an app at the same time.
"""
is_usable = True
path_already_used = []

def __init__(self, *args, **kwargs):
super(Loader, self).__init__(self, *args, **kwargs)
self.path_already_used = []

def reset(self):
self.path_already_used = []

@cached_property
def app_templates_dirs(self):
Expand Down

0 comments on commit e5e32de

Please sign in to comment.