1
0
Fork 0
foerderbarometer/input/models.py

18 lines
418 B
Python

from django.db import models
class Project(models.Model):
name = models.CharField(max_length=200)
start = models.DateTimeField('start date')
def __str__(self):
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