kopia lustrzana https://github.com/wagtail/wagtail
Cast values to string when writing to querystring
Mitigation for https://code.djangoproject.com/ticket/29627 in Django 2.1pull/4418/merge
rodzic
b75e484717
commit
80a2389a26
|
@ -281,7 +281,7 @@ def querystring(context, **kwargs):
|
|||
querydict.pop(key, None)
|
||||
else:
|
||||
# Set the key otherwise
|
||||
querydict[key] = value
|
||||
querydict[key] = str(value)
|
||||
|
||||
return '?' + querydict.urlencode()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue