0001-a2_rbac-fix-RoleParenting.__str__-magic-method-33328.patch
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 |
- |