from __future__ import unicode_literals

from django.db import models

# Create your models here.

@@ -67,32 +67,477 @@
 els%0A
-%0A# Create your models here.%0A
+from django.utils import timezone%0A%0A# Create your models here.%0A%0Aclass Post(models.Model):%0A    author = models.ForeignKey('auth.User')%0A    title = models.CharField(max_length=200)%0A    text = models.TextField()%0A    created_date = models.DateTimeField(default=timezone.now)%0A    published_date = models.DateTimeField(blank=True, null=True)%0A%0A    def publish(self):%0A        self.published_date = timezone.now()%0A        self.save()%0A%0A    def __str__(self):%0A        return self.title

Create Post model in model.py