from django.db import models

# Create your models here.
class Post(models.Model):
    title = models.CharField(max_length=100)
    content = models.TextField()
    foto = models.ImageField(upload_to="foto/%Y/%m/%d")
    created_at = models.DateTimeField(auto_now_add=True)