from django.db import models

# Create your models here.
class cnn(models.Model):
    author= models.ForeignKey(
    'auth.User',
    on_delete= models.CASCADE,
    )

    title=models.CharField(max_length=20)

    text = models.TextField()

    def __str__(self):
        return self.title
