mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-28 16:09:40 +00:00
format python code with black
This commit is contained in:
@@ -4,10 +4,14 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
# Create your models here.
|
||||
class Interfaces(models.Model):
|
||||
name = models.CharField(_('name'), max_length=20, error_messages={'required': _('No interface name has been entered')})
|
||||
type = models.CharField(_('status'), max_length=12)
|
||||
state = models.CharField(_('device'), max_length=100)
|
||||
mac = models.CharField(_('forward'), max_length=24)
|
||||
name = models.CharField(
|
||||
_("name"),
|
||||
max_length=20,
|
||||
error_messages={"required": _("No interface name has been entered")},
|
||||
)
|
||||
type = models.CharField(_("status"), max_length=12)
|
||||
state = models.CharField(_("device"), max_length=100)
|
||||
mac = models.CharField(_("forward"), max_length=24)
|
||||
|
||||
class Meta:
|
||||
managed = False
|
||||
|
||||
Reference in New Issue
Block a user