Ejemplo n.º 1
0
 def __init__(self):
     """ Initialise the custom anonymous user instance,
         delegating to super.
     """
     AnonymousUserMixin.__init__(self)
     self.roles = [Role(**anonymousRoleDict)]
Ejemplo n.º 2
0
 def __init__(self, roles=roles):
     self.roles = roles
     AnonymousUserMixin.__init__(self)
Ejemplo n.º 3
0
 def __init__(self):
     self.username = '******'
     self.password = ''
     self.id = -1
     User.__init__(self)
     AnonymousUserMixin.__init__(self)