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):
|
|
|
|
project_name = models.CharField(max_length=200)
|
|
|
|
project_start = models.DateTimeField('start date')
|
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
return self.project_name
|