Something is fishy with Django 3.1 - needs futher and deeper investigation

This commit is contained in:
Oliver Falk
2020-08-31 10:55:50 +02:00
parent ffbd0f9148
commit 8f7f6983cd
2 changed files with 3 additions and 3 deletions

View File

@@ -956,11 +956,11 @@ class Tester(TestCase): # pylint: disable=too-many-public-methods
args=[self.user.confirmedopenid_set.first().id])
# The get is for the view - test context data
self.client.get(url, {
'photo_id': int(self.user.photo_set.first().id),
'photo_id': self.user.photo_set.first().id,
})
# The post is for the actual assigning
response = self.client.post(url, {
'photo_id': int(self.user.photo_set.first().id),
'photo_id': self.user.photo_set.first().id,
}, follow=True)
self.assertEqual(response.status_code, 200, 'cannot assign photo?')
self.assertEqual(

View File

@@ -1,7 +1,7 @@
autopep8
bcrypt
defusedxml
Django
Django<3.1
django-auth-ldap
django-bootstrap4
django-coverage-plugin