|
@ -2,8 +2,8 @@ from django.db import models |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Project(models.Model): |
|
|
class Project(models.Model): |
|
|
project_name = models.CharField(max_length=200) |
|
|
|
|
|
project_start = models.DateTimeField('start date') |
|
|
|
|
|
|
|
|
name = models.CharField(max_length=200) |
|
|
|
|
|
start = models.DateTimeField('start date') |
|
|
|
|
|
|
|
|
def __str__(self): |
|
|
def __str__(self): |
|
|
return self.project_name |
|
|
return self.project_name |