Skip to content
Snippets Groups Projects
Verified Commit 897c8724 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

[Reformat] Fix models.py

parent f4bf8a67
No related branches found
No related tags found
No related merge requests found
Pipeline #1952 failed
......@@ -38,7 +38,6 @@ FIELD_CHOICES = (
("TextField", _("Text (multi-line)")),
("TimeField", _("Time")),
("URLField", _("URL / Link")),
)
......@@ -619,9 +618,7 @@ class CustomMenuItem(ExtensibleModel):
)
name = models.CharField(max_length=150, verbose_name=_("Name"))
url = models.URLField(verbose_name=_("Link"))
icon = models.CharField(
max_length=50, blank=True, choices=ICONS, verbose_name=_("Icon")
)
icon = models.CharField(max_length=50, blank=True, choices=ICONS, verbose_name=_("Icon"))
def __str__(self):
return f"[{self.menu}] {self.name}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment