1
0
Fork 0

added modell class Volonteer

This commit is contained in:
Benni Bärmann 2020-09-30 11:04:47 +02:00
parent c0ba62332e
commit 5cd2d76d20
1 changed files with 8 additions and 0 deletions

View File

@ -7,3 +7,11 @@ class Project(models.Model):
def __str__(self): def __str__(self):
return self.name return self.name
class Volonteer(models.Model):
name = models.CharField(max_length=200)
email = models.CharField(max_length=200)
username = models.CharField(max_length=200)
def __str__(self):
return self.name