Example #1
0
 def _init_filters(self):
     Template._init_filters(self)
     # Make sure the include filter comes after the match filter
     if self.loader:
         self.filters.remove(self._include)
     self.filters += [self._match]
     if self.loader:
         self.filters.append(self._include)
Example #2
0
 def _init_filters(self):
     Template._init_filters(self)
     # Make sure the include filter comes after the match filter
     self.filters.remove(self._include)
     self.filters += [self._match, self._include]
Example #3
0
 def _init_filters(self):
     Template._init_filters(self)
     # Make sure the include filter comes after the match filter
     self.filters.remove(self._include)
     self.filters += [self._match, self._include]