foerderbarometer/input/models.py

10 lines
200 B
Python
Raw Normal View History

2020-09-21 12:27:16 +00:00
from django.db import models
2020-09-22 10:21:05 +00:00
class Project(models.Model):
2020-09-28 09:45:15 +00:00
name = models.CharField(max_length=200)
start = models.DateTimeField('start date')
2020-09-22 10:21:05 +00:00
def __str__(self):
2020-09-29 07:53:29 +00:00
return self.name