Skip to content

Commit

Permalink
flake8 test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenh17 committed Nov 10, 2024
1 parent 267358f commit e624e65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions townhall/myapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,16 @@ class Chat(models.Model):

def __str__(self):
return self.participants



class Event(models.Model):
title = models.CharField(max_length=100)
description = models.TextField()
start_time = models.DateTimeField()
end_time = models.DateTimeField()
location = models.CharField(max_length=100)
organization = models.ForeignKey('Organization', on_delete=models.CASCADE)
organization = models.ForeignKey("Organization", on_delete=models.CASCADE)

def __str__(self):
return self.title

Expand Down

0 comments on commit e624e65

Please sign in to comment.