8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-19 09:02:35 +00:00

Translation

This commit is contained in:
chapeau 2020-06-09 19:50:21 +02:00 committed by Gabriel Detraz
parent c3fae17599
commit e0a0375e5d
2 changed files with 289 additions and 284 deletions

File diff suppressed because it is too large Load diff

View file

@ -353,9 +353,6 @@ class MachineType(RevMixin, AclMixin, models.Model):
"""Get all interfaces of the current machine type (self)."""
return Interface.objects.filter(machine_type=self)
def save(self, *args, **kwargs):
super(MachineType, self).save(*args, **kwargs)
@staticmethod
def can_use_all(user_request, *_args, **_kwargs):
"""Check if an user can use all machine types.