def __init__(self, place, purpose):
     Decorator.__init__(self, func=Decorator.UNDEFINED_FUNCTION)
     self.place = place
     self.purpose = purpose
Example #2
0
 def __init__(self, place, purpose):
     Decorator.__init__(self, func=Decorator.UNDEFINED_FUNCTION)
     self.place = place
     self.purpose = purpose
 def valid(self, request, *args, **kwargs):
     """Return response when ticket is valid."""
     self.login(request, *args, **kwargs)
     return Decorator.run(self, request, *args, **kwargs)
Example #4
0
 def valid(self, request, *args, **kwargs):
     """Return response when ticket is valid."""
     self.login(request, *args, **kwargs)
     return Decorator.run(self, request, *args, **kwargs)