Projet

Général

Profil

0001-python3-ou.__str__-magid-method-uniformization-31184.patch

Paul Marillonnet, 06 mars 2019 22:15

Télécharger (791 octets)

Voir les différences:

Subject: [PATCH] python3: ou.__str__ magid method uniformization (#31184)

 src/authentic2/a2_rbac/models.py | 3 +++
 1 file changed, 3 insertions(+)
src/authentic2/a2_rbac/models.py
128 128
            'validate_emails': self.validate_emails
129 129
        }
130 130

  
131
    def __str__(self):
132
        return self.name
133

  
131 134

  
132 135
OrganizationalUnit._meta.natural_key = [['uuid'], ['slug'], ['name']]
133 136

  
134
-