Exemple #1
0
 def validates(self):
     '''
     Should match one of the allowed paths rules
     '''
     return settings.is_allowed_path(self.path) \
         and not self.is_third_party()
Exemple #2
0
 def validates(self):
     '''
     Should match one of the allowed paths rules
     '''
     return settings.is_allowed_path(self.path) \
         and not self.is_third_party()