Skip to content

Commit

Permalink
Upgrade python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Apr 8, 2024
1 parent ad7bdd4 commit 544489c
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 79 deletions.
145 changes: 83 additions & 62 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ channels = "^4.0.0"
channels-redis = "^4.0.0"
cryptography = "^42.0.2"
daphne = "^4.1.0"
Django = "^4.0.6"
Django = "^5.0.4"
django-crispy-forms = "^2.0"
django-environ = "^0.11.2"
django-extensions = "^3.1.5"
django-filter = "^23.1"
django-filter = "^24.2"
django-htmx = "^1.14.0"
django-loginas = "^0.3.9"
django-registration-redux = "^2.10"
Expand All @@ -31,15 +31,15 @@ Markdown = "^3.3.7"
openpyxl = "^3.1.2"
pandas = "^2.0.1"
python = "^3.11"
redis = "^4.6"
redis = "^5.0.3"
toml = "^0.10.2"
Twisted = { extras = ["tls", "http2"], version = "^23.10.0" }
Twisted = { extras = ["tls", "http2"], version = "^24.3.0" }
wait-for-it = "^2.2.2"
watchfiles = "^0.21.0"
whitenoise = "^6.0.0"
crispy-bootstrap5 = "^2023.10"
crispy-bootstrap5 = "^2024.2"
django-dbbackup = "^4.0.2"
pyvespa = "^0.39.0"
pyvespa = "^0.40.0"
psycopg = { extras = ["binary"], version = "^3.1.13" }
django-formtools = "^2.5.1"

Expand All @@ -52,16 +52,16 @@ django-test-migrations = "^1.3.0"
djangorestframework-types = "^0.8.0"
djlint = "^1.19.16"
factory-boy = "^3.1.0"
Faker = "^23.1.0"
Faker = "^24.7.1"
invoke = "^2.1.2"
ipykernel = "^6.29.2"
ipython = "^8.1.1"
nest-asyncio = "^1.5.6"
pyright = "^1.1.336"
pytest = "^7.1.2"
pytest = "^8.1.1"
pytest-asyncio = "^0.23.5"
pytest-celery = "^0.0.0"
pytest-cov = "^4.0.0"
pytest-cov = "^5.0.0"
pytest-django = "^4.5.2"
pytest-mock = "^3.10.0"
pytest-only = "^2.0.0"
Expand All @@ -71,10 +71,10 @@ pytest-timeout = "^2.1.0"
pytest-watch = "^4.2.0"
python-dotenv = "^1.0.0"
requests = "^2.27.1"
ruff = "^0.2.1"
ruff = "^0.3.5"
time-machine = "^2.1.0"
django-browser-reload = "^1.11.0"
pywatchman = "^1.4.1"
pywatchman = "^2.0.0"
openai = "^1.12.0"
tiktoken = "^0.6.0"
pydicom = "^2.4.3"
Expand Down
4 changes: 3 additions & 1 deletion radis/collections/filters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import django_filters
from django.http import HttpRequest

from adit_radis_shared.common.forms import FilterSetFormHelper

Expand All @@ -7,6 +8,7 @@

class CollectionFilter(django_filters.FilterSet):
name = django_filters.CharFilter(lookup_expr="search")
request: HttpRequest

class Meta:
model = Collection
Expand All @@ -15,7 +17,7 @@ class Meta:
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

form_helper = FilterSetFormHelper(self.data)
form_helper = FilterSetFormHelper(self.request.GET)
form_helper.add_filter_field("name", "text", "Filter")
form_helper.build_filter_set_layout()
self.form.helper = form_helper
Loading

0 comments on commit 544489c

Please sign in to comment.