syntax
This commit is contained in:
parent
aae49b90d4
commit
4b64fbf1bd
|
@ -97,10 +97,10 @@ class Event(models.Model):
|
|||
|
||||
def get_dict(self):
|
||||
return {
|
||||
'name': name,
|
||||
'description': description,
|
||||
'start_time': start_time,
|
||||
'end_time': end_time
|
||||
'name': self.name,
|
||||
'description': self.description,
|
||||
'start_time': self.start_time,
|
||||
'end_time': self.end_time
|
||||
}
|
||||
|
||||
def get_media(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user