8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Translation

This commit is contained in:
chapeau 2020-06-09 19:50:21 +02:00 committed by chirac
parent 742f95f335
commit cb7acd2fc7
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).""" """Get all interfaces of the current machine type (self)."""
return Interface.objects.filter(machine_type=self) return Interface.objects.filter(machine_type=self)
def save(self, *args, **kwargs):
super(MachineType, self).save(*args, **kwargs)
@staticmethod @staticmethod
def can_use_all(user_request, *_args, **_kwargs): def can_use_all(user_request, *_args, **_kwargs):
"""Check if an user can use all machine types. """Check if an user can use all machine types.