Add Premium feature with UI, model changes, and admin configuration

This commit is contained in:
mrtoine 2025-12-11 09:38:00 +01:00
parent 95111240bc
commit abe4a1a965
7 changed files with 156 additions and 6 deletions

View file

@ -11,6 +11,7 @@ class Profile(models.Model):
last_name = models.CharField(max_length=64, blank=True)
birth_date = models.DateField(null=True, blank=True)
biography = models.TextField(blank=True)
is_premium = models.BooleanField(default=False)
def __str__(self):
return self.user.username