Remove UserPermission model

This commit is contained in:
Yohann D'ANELLO 2020-03-19 20:39:19 +01:00
parent 801f948a7d
commit c653e0986e
1 changed files with 0 additions and 7 deletions

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)