mirror of https://gitlab.crans.org/bde/nk20
Remove UserPermission model
This commit is contained in:
parent
801f948a7d
commit
c653e0986e
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue