You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
208 B

4 years ago
4 years ago
  1. from django.db import models
  2. class Project(models.Model):
  3. name = models.CharField(max_length=200)
  4. start = models.DateTimeField('start date')
  5. def __str__(self):
  6. return self.project_name