Projet

Général

Profil

0001-a2_rbac-fix-RoleParenting.__str__-magic-method-33328.patch

Paul Marillonnet, 22 mai 2019 08:18

Télécharger (794 octets)

Voir les différences:

Subject: [PATCH] a2_rbac: fix RoleParenting.__str__ magic method (#33328)

 src/authentic2/a2_rbac/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/a2_rbac/models.py
322 322
        verbose_name_plural = _('role parenting relations')
323 323

  
324 324
    def __str__(self):
325
        return self.name
325
        return str(self.natural_key())
326 326

  
327 327

  
328 328
class RoleAttribute(models.Model):
329
-