diff --git a/mainapp/templates/mainapp/modelform.html b/mainapp/templates/mainapp/modelform.html index 5348434..ca7ca1f 100644 --- a/mainapp/templates/mainapp/modelform.html +++ b/mainapp/templates/mainapp/modelform.html @@ -216,7 +216,9 @@ }); const selectedRadio = document.querySelector('input[name="model_source"]:checked'); - if (selectedRadio) { + if (selectedRadio == null) { + modelSource.style.display = 'none'; + } else { toogle(selectedRadio.value); } }); diff --git a/requirements.txt b/requirements.txt index 0dc7c70..8cbfbc6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,28 +1,30 @@ asgiref==3.11.1 -certifi==2026.2.25 +certifi==2026.5.20 cffi==2.0.0 charset-normalizer==3.4.7 -cryptography==46.0.7 +cryptography==48.0.0 defusedxml==0.7.1 -Django==6.0.4 +Django==6.0.6 django-appconf==1.2.0 -django_compressor==4.6.0 django-vite==3.1.0 -idna==3.11 -mistune==3.2.0 +django_compressor==4.6.0 +idna==3.18 +mistune==3.2.1 oauthlib==3.3.1 -psycopg==3.3.3 -psycopg-binary==3.3.3 +packaging==26.2 +psycopg==3.3.4 +psycopg-binary==3.3.4 pycparser==3.0 -PyJWT==2.12.1 +PyJWT==2.13.0 python-dotenv==1.2.2 python3-openid==3.2.0 rcssmin==1.2.2 -requests==2.33.1 +requests==2.34.2 requests-oauthlib==2.0.0 rjsmin==1.2.5 six==1.17.0 -social-auth-app-django==5.7.0 -social-auth-core==4.8.5 +social-auth-app-django==5.9.0 +social-auth-core==4.9.1 sqlparse==0.5.5 -urllib3==2.6.3 +typing_extensions==4.15.0 +urllib3==2.7.0