Skip to content

Commit

Permalink
quality: auto-format
Browse files Browse the repository at this point in the history
  • Loading branch information
wowkalucky committed Feb 11, 2024
1 parent 08f46ba commit 500228f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions credentials/apps/badges/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 500228f

Please sign in to comment.