Updates for the event images

This commit is contained in:
Vivek P Prakash
2025-12-01 04:52:49 +05:30
parent 392f86cfaf
commit d96ba46506
24 changed files with 905 additions and 257 deletions

View File

@@ -8,6 +8,8 @@ class Event(models.Model):
description = models.TextField()
start_date = models.DateField()
end_date = models.DateField()
start_time = models.TimeField(blank=True, null=True)
end_time = models.TimeField(blank=True, null=True)
latitude = models.DecimalField(max_digits=9, decimal_places=6)
longitude = models.DecimalField(max_digits=9, decimal_places=6)
@@ -31,6 +33,10 @@ class Event(models.Model):
], default='pending')
cancelled_reason = models.TextField(default='NA')
title = models.CharField(max_length=250, blank=True)
important_information = models.TextField(blank=True)
venue_name = models.CharField(max_length=250, blank=True)
def __str__(self):
return f"{self.name} ({self.start_date})"