8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-28 15:42:25 +00:00

Suppression du field chambre pour l'auto inscription et l'auto édition

This commit is contained in:
grisel-davy 2018-08-28 23:46:51 +02:00 committed by chirac
parent be1c0cef22
commit 560fd6e723

View file

@ -543,6 +543,9 @@ class Room(AclMixin, RevMixin, models.Model):
def __str__(self):
return self.name
def can_change(user_request,*_args, **_kwargs):
return user_request.has_perm('users.change_user')
class PortProfile(AclMixin, RevMixin, models.Model):
"""Contains the information of the ports' configuration for a switch"""