Skip to content

Commit

Permalink
💫 [IMPR] Fix objects deletions in OutdoorParser (refs #3569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Feb 27, 2024
1 parent 0c8f937 commit f5485d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geotrek/outdoor/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def end(self):
continue
child_site.parent = parent_site
child_site.save()
super().end()


class GeotrekCourseParser(GeotrekOutdoorParser):
Expand Down Expand Up @@ -252,3 +253,4 @@ def end(self):
OrderedCourseChild.objects.update_or_create(parent=parent_course,
child=child_course,
defaults={'order': i})
super().end()

0 comments on commit f5485d1

Please sign in to comment.