Django 4.2

* updates Django to 4.x and other packages (if possible) to latest versions
* Attention: Requires postgresql >= 12.0
* updates code fragments to match requirements of newer package versions
This commit is contained in:
2023-10-12 09:57:05 +02:00
parent e63de9b628
commit 157e733c5a
7 changed files with 73 additions and 46 deletions

View File

@@ -34,3 +34,9 @@ class InterventionAutocomplete(Select2QuerySetView):
Q(title__icontains=self.q)
).distinct()
return qs
def get_result_label(self, result):
return str(result)
def get_selected_result_label(self, result):
return str(result)