dodanie nowych modeli
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K
2024-01-02 22:41:36 +01:00
parent 47fed892cf
commit 9e1860faf9
4 changed files with 47 additions and 13 deletions

View File

@@ -47,3 +47,11 @@ class MyUser(AbstractBaseUser, PermissionsMixin):
def get_short_name(self):
return self.first_name
class AnonymousUserData(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
contact_email = models.EmailField()
def __str__(self):
return f"{self.first_name} {self.last_name}"