On ne compare pas les organisateurs quand on n'en a pas besoin
Fix #255
This commit is contained in:
parent
ad48b667be
commit
6b79949002
@ -1442,6 +1442,8 @@ class Event(models.Model):
|
|||||||
"category",
|
"category",
|
||||||
"tags",
|
"tags",
|
||||||
]
|
]
|
||||||
|
if not no_m2m:
|
||||||
|
result += ["organisers"]
|
||||||
|
|
||||||
result += [
|
result += [
|
||||||
"title",
|
"title",
|
||||||
@ -1453,8 +1455,6 @@ class Event(models.Model):
|
|||||||
"description",
|
"description",
|
||||||
"image",
|
"image",
|
||||||
]
|
]
|
||||||
if not no_m2m:
|
|
||||||
result += ["organisers"]
|
|
||||||
if all and local_img:
|
if all and local_img:
|
||||||
result += ["local_image"]
|
result += ["local_image"]
|
||||||
if all and exact_location:
|
if all and exact_location:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user