redesign provider detail page

This commit is contained in:
Tobias Brunner 2025-03-03 09:41:54 +01:00
parent 0d0a80af70
commit 2139df8a05
No known key found for this signature in database
4 changed files with 228 additions and 76 deletions

View file

@ -87,6 +87,10 @@ class CloudProvider(models.Model):
slug = models.SlugField(unique=True)
description = ProseEditorField()
website = models.URLField()
linkedin = models.URLField(blank=True)
phone = models.CharField(max_length=25, blank=True, null=True)
email = models.EmailField(max_length=254, blank=True, null=True)
address = models.TextField(max_length=250, blank=True, null=True)
logo = models.ImageField(
upload_to="cloud_provider_logos/",
validators=[validate_image_size],