mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
Translation
This commit is contained in:
parent
742f95f335
commit
cb7acd2fc7
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