feat(portfolio): add company color

This commit is contained in:
2026-09-15 19:50:36 +02:00
parent 02568054f1
commit f54c4efb1d
3 changed files with 31 additions and 1 deletions
+7
View File
@@ -9,6 +9,13 @@ class Company(models.Model):
location = models.CharField(
verbose_name=_("Location"), max_length=255, blank=False, null=False
)
color = models.CharField(
verbose_name=_("Color (hex)"),
max_length=6,
null=False,
blank=False,
default="000000",
)
logo = models.FileField(upload_to="portfolio/companies_logo/")
def __str__(self):