parent
9430b8b0c8
commit
fe8600485a
@ -1465,9 +1465,11 @@ class Event(models.Model):
|
|||||||
):
|
):
|
||||||
self.download_image()
|
self.download_image()
|
||||||
|
|
||||||
# remove "/" from tags
|
|
||||||
if self.tags:
|
if self.tags:
|
||||||
|
# remove "/" from tags
|
||||||
self.tags = [t.replace("/", "-") for t in self.tags]
|
self.tags = [t.replace("/", "-") for t in self.tags]
|
||||||
|
# remove duplicate tags
|
||||||
|
self.tags = list(set(self.tags))
|
||||||
|
|
||||||
# in case of importation process
|
# in case of importation process
|
||||||
if self.is_in_importation_process():
|
if self.is_in_importation_process():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user