Compare commits

..

No commits in common. "aaba198242e50a59aef8ae0788c1778a32a5a0b2" and "06197c3cfbf55d0457947d173e90af64513504b3" have entirely different histories.

7 changed files with 47 additions and 74 deletions

View File

@ -5,7 +5,7 @@ Contact: ksp-servicestelle@sgdnord.rlp.de
Created on: 18.08.22 Created on: 18.08.22
""" """
from bootstrap_modal_forms.mixins import is_ajax from bootstrap_modal_forms.utils import is_ajax
from dal import autocomplete from dal import autocomplete
from django import forms from django import forms
from django.contrib import messages from django.contrib import messages

View File

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

View File

@ -8,7 +8,7 @@ Created on: 16.11.20
from functools import wraps from functools import wraps
from bootstrap_modal_forms.mixins import is_ajax from bootstrap_modal_forms.utils import is_ajax
from django.contrib import messages from django.contrib import messages
from django.shortcuts import redirect, get_object_or_404, render from django.shortcuts import redirect, get_object_or_404, render
from django.urls import reverse from django.urls import reverse

View File

@ -6,7 +6,7 @@ Created on: 15.08.22
""" """
from bootstrap_modal_forms.forms import BSModalForm from bootstrap_modal_forms.forms import BSModalForm
from bootstrap_modal_forms.mixins import is_ajax from bootstrap_modal_forms.utils import is_ajax
from django.contrib import messages from django.contrib import messages
from django.http import HttpResponseRedirect, HttpRequest from django.http import HttpResponseRedirect, HttpRequest
from django.shortcuts import render from django.shortcuts import render

View File

@ -1,57 +1,52 @@
amqp==5.1.1 amqp==5.0.9
asgiref==3.7.2 asgiref==3.3.1
async-timeout==4.0.3 beautifulsoup4==4.9.3
beautifulsoup4==4.12.2 billiard==3.6.4.0
billiard==4.1.0
cached-property==1.5.2 cached-property==1.5.2
celery==5.3.4 celery==5.2.3
certifi==2023.7.22 certifi==2020.11.8
chardet==5.2.0 chardet==3.0.4
charset-normalizer==3.3.0 click==8.0.3
click==8.1.7
click-didyoumean==0.3.0 click-didyoumean==0.3.0
click-plugins==1.1.1 click-plugins==1.1.1
click-repl==0.3.0 click-repl==0.2.0
coverage==7.3.2 Deprecated==1.2.13
Deprecated==1.2.14 Django==3.1.3
Django==4.2.6 django-autocomplete-light==3.9.0rc5
django-autocomplete-light==3.10.0rc4 django-bootstrap-modal-forms==2.2.0
django-bootstrap-modal-forms==3.0.4 django-bootstrap4==3.0.1
django-bootstrap4==23.2 django-debug-toolbar==3.1.1
django-debug-toolbar==4.2.0 django-filter==2.4.0
django-filter==23.3
django-fontawesome-5==1.0.18 django-fontawesome-5==1.0.18
django-simple-sso==1.2.0 django-simple-sso==1.1.0
django-tables2==2.6.0 django-tables2==2.3.4
et-xmlfile==1.1.0 et-xmlfile==1.1.0
idna==3.4 idna==2.10
importlib-metadata==6.8.0 importlib-metadata==2.1.1
itsdangerous<1.0.0 itsdangerous==0.24
kombu==5.3.2 kombu==5.2.3
openpyxl==3.2.0b1 openpyxl==3.0.9
packaging==23.2 OWSLib==0.25.0
pika==1.3.2 packaging==21.3
prompt-toolkit==3.0.39 pika==1.2.0
psycopg2-binary==2.9.9 prompt-toolkit==3.0.24
pyparsing==3.1.1 psycopg2-binary==2.9.1
pypng==0.20220715.0 pyparsing==3.0.6
pyproj==3.6.1 pyproj==3.2.1
python-dateutil==2.8.2 python-dateutil==2.8.2
pytz==2023.3.post1 pytz==2021.3
PyYAML==6.0.1 PyYAML==6.0
qrcode==7.4.2 qrcode==7.3.1
redis==5.0.1 redis==4.1.0
requests==2.31.0 requests==2.25.0
six==1.16.0 six==1.15.0
soupsieve==2.5 soupsieve==2.2.1
sqlparse==0.4.4 sqlparse==0.4.1
typing_extensions==4.8.0 urllib3==1.26.2
tzdata==2023.3
urllib3==2.0.6
vine==5.0.0 vine==5.0.0
wcwidth==0.2.8 wcwidth==0.2.5
webservices==0.7 webservices==0.7
wrapt==1.16.0rc1 wrapt==1.13.3
xmltodict==0.13.0 xmltodict==0.12.0
zipp==3.17.0 zipp==3.4.1
gunicorn==21.2.0 gunicorn==20.1.0

View File

@ -29,12 +29,6 @@ class ShareUserAutocomplete(Select2QuerySetView):
qs = qs.order_by("username") qs = qs.order_by("username")
return qs return qs
def get_result_label(self, result):
return str(result)
def get_selected_result_label(self, result):
return str(result)
class ShareTeamAutocomplete(Select2QuerySetView): class ShareTeamAutocomplete(Select2QuerySetView):
""" Autocomplete for share with teams """ Autocomplete for share with teams
@ -58,8 +52,3 @@ class ShareTeamAutocomplete(Select2QuerySetView):
) )
return qs return qs
def get_result_label(self, result):
return str(result)
def get_selected_result_label(self, result):
return str(result)

View File

@ -32,8 +32,3 @@ class TeamAdminAutocomplete(Select2QuerySetView):
) )
return qs return qs
def get_result_label(self, result):
return str(result)
def get_selected_result_label(self, result):
return str(result)