from django.db import models

# Create your models here.
class Post(models.Model):
    title  = models.CharField(max_length=64)
    author = models.ForeignKey('auth.user',on_delete=models.CASCADE)
    body   = models.TextField(blank = True)

    def __str__(self):
        return self.title