Ejemplo n.º 1
0
 def __str__(self):
     msg = UserMixin.__str__(self)
     return "{} (id: {}, name: {}, backend: {}, admin: {}, moderator: {}, authenticated: {}, active: {})".format(
         msg,
         self.get_id(),
         self.name,
         self.backend,
         self.is_admin,
         self.is_moderator,
         self.is_authenticated,
         self.is_active,
     )
Ejemplo n.º 2
0
 def __str__(self):
     msg = UserMixin.__str__(self)
     return '{} (id: {}, name: {}, backend: {}, admin: {}, moderator: {}, authenticated: {}, active: {})'.format(
         msg,
         self.get_id(),
         self.name,
         self.backend,
         self.is_admin,
         self.is_moderator,
         self.is_authenticated,
         self.is_active
     )
Ejemplo n.º 3
0
 def __str__(self):
     msg = UserMixin.__str__(self)
     return '{} (id: {}, admin: {}, authenticated: {}, active: {})'.format(
         msg, self.get_id(), self.is_admin, self.is_authenticated,
         self.is_active)