From 500228f313d8ac925f5fcafdd8bd41c50af9d7e5 Mon Sep 17 00:00:00 2001 From: wowkalucky Date: Sun, 11 Feb 2024 18:25:02 +0200 Subject: [PATCH] quality: auto-format --- credentials/apps/badges/models.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/credentials/apps/badges/models.py b/credentials/apps/badges/models.py index 06e11c131..223ba638b 100644 --- a/credentials/apps/badges/models.py +++ b/credentials/apps/badges/models.py @@ -17,17 +17,11 @@ class BadgeTemplate(AbstractCredential): TYPE = "openedx" - uuid = models.UUIDField( - unique=True, default=uuid.uuid4, help_text=_("Unique badge template ID.") - ) + uuid = models.UUIDField(unique=True, default=uuid.uuid4, help_text=_("Unique badge template ID.")) name = models.CharField(max_length=255, help_text=_("Badge template name.")) - description = models.TextField( - null=True, blank=True, help_text=_("Badge template description.") - ) + description = models.TextField(null=True, blank=True, help_text=_("Badge template description.")) icon = models.ImageField(upload_to="badge_templates/icons", null=True, blank=True) - origin = models.CharField( - max_length=128, null=True, blank=True, help_text=_("Badge template type.") - ) + origin = models.CharField(max_length=128, null=True, blank=True, help_text=_("Badge template type.")) def __str__(self): return self.name