mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Translation
This commit is contained in:
parent
c3fae17599
commit
e0a0375e5d
2 changed files with 289 additions and 284 deletions
File diff suppressed because it is too large
Load diff
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue