Skip to content

Commit cac2d3d

Browse files
committed
Upgrade Django to latest 5.2.1 version
Signed-off-by: tdruez <[email protected]>
1 parent cd95010 commit cac2d3d

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

component_catalog/tests/test_admin.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ def test_component_admin_form_clean(self):
230230
del data["name"]
231231
response = self.client.post(url, data)
232232
self.assertContains(response, '<p class="errornote">Please correct the error below.</p>')
233-
self.assertContains(response, '<ul class="errorlist"><li>This field is required.</li>')
233+
self.assertContains(
234+
response,
235+
'<ul class="errorlist" id="id_name_error"><li>This field is required.</li></ul>',
236+
)
234237

235238
@override_settings(REFERENCE_DATASPACE="Dataspace")
236239
def test_component_admin_form_clean_validate_against_reference_data(self):

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ install_requires =
5151
wheel==0.45.1
5252
pip==25.1.1
5353
# Django
54-
Django==5.1.9
54+
Django==5.2.1
5555
asgiref==3.8.1
5656
typing_extensions==4.13.2
5757
sqlparse==0.5.3

thirdparty/dist/django-5.1.9-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 14 deletions
This file was deleted.
7.89 MB
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
about_resource: django-5.2.1-py3-none-any.whl
2+
name: django
3+
version: 5.2.1
4+
download_url: https://files.pythonhosted.org/packages/90/92/7448697b5838b3a1c6e1d2d6a673e908d0398e84dc4f803a2ce11e7ffc0f/django-5.2.1-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: bsd-new
7+
copyright: Copyright django project contributors
8+
attribute: yes
9+
checksum_md5: 7821a8fa6b4193707af79c9b4bc64236
10+
checksum_sha1: 0c2f04440b66d67223e74146ff94b577c7da2dff
11+
licenses:
12+
- key: bsd-new
13+
name: BSD-3-Clause
14+
file: bsd-new.LICENSE

workflow/tests/test_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_request_template_admin_delete_permissions(self):
139139
url = reverse("admin:workflow_requesttemplate_delete", args=[self.request_template1.id])
140140

141141
response = self.client.get(url)
142-
self.assertContains(response, "<h1>Are you sure?</h1>")
142+
self.assertContains(response, "<h1>Delete</h1>")
143143

144144
# Attaching a Request to our template.
145145
Request.objects.create(

0 commit comments

Comments
 (0)