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