<filename>src/pag_calendario/models.py
from django.db import models
from django.contrib.auth.models import User

#Modelo para crear eventos
class eventos(models.Model):
    nombre = models.CharField(max_length=20)
    fecha = models.DateField()
    descripcion = models.TextField(blank=True, null = True,)
    prioridad = models.IntegerField(default = 1)
    usuario = models.ForeignKey(User, on_delete=models.CASCADE)
    ramo = models.CharField(max_length = 120, default= "Lenguaje")

#Modelo para eliminar eventos
class eliminar(models.Model):
    event_id = models.CharField(max_length=120)