added modell class Volonteer
This commit is contained in:
parent
c0ba62332e
commit
5cd2d76d20
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue