added modell class Volonteer
This commit is contained in:
parent
c0ba62332e
commit
5cd2d76d20
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue