Browse Source

added modell class Volonteer

master
Benni Baermann 4 years ago
parent
commit
5cd2d76d20
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      input/models.py

+ 8
- 0
input/models.py 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

Loading…
Cancel
Save