Skip to content

Commit 10b56c4

Browse files
committed
Fixed a place where data provider for a POST in contained None, which cannot be serialized into POST data. Found by Django 2.2 checks.
- Legacy-Id: 18085
1 parent cabf95d commit 10b56c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/secr/rolodex/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_edit_replace_user(self):
6161
post_data = {
6262
'name': person.name,
6363
'ascii': person.ascii,
64-
'ascii_short': person.ascii_short,
64+
'ascii_short': person.ascii_short or '',
6565
'user': user.username,
6666
'email-0-person':person.pk,
6767
'email-0-address': email.address,

0 commit comments

Comments
 (0)