1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

Remove UserPermission model

This commit is contained in:
Yohann D'ANELLO 2020-03-19 20:39:19 +01:00
parent 801f948a7d
commit c653e0986e

View File

@ -257,10 +257,3 @@ class Permission(models.Model):
else:
return _("Can {type} {model} in {query}").format(type=self.type, model=self.model, query=self.query)
class UserPermission(models.Model):
user = models.ForeignKey('auth.User', on_delete=models.CASCADE)
permission = models.ForeignKey(Permission, on_delete=models.CASCADE)