Share views

* replaces function based share views with class based
* improves team-share autocomplete search
* renames internal share url names
This commit is contained in:
2022-08-22 10:58:07 +02:00
parent 09402611dc
commit fc19a4de52
17 changed files with 158 additions and 204 deletions

View File

@@ -337,7 +337,7 @@ class Intervention(BaseObject,
Returns:
"""
return reverse("intervention:share", args=(self.id, self.access_token))
return reverse("intervention:share-token", args=(self.id, self.access_token))
def remove_payment(self, form):
""" Removes a Payment from the intervention