mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-10 00:17:54 +02:00
Refactor and fix datatables code to use cache safely
This commit is contained in:
@ -31,7 +31,7 @@ def query_to_base64(query):
|
||||
"""
|
||||
Converts a query dict object to a base64-encoded bytes object.
|
||||
"""
|
||||
return b64encode(json.dumps(query).encode('UTF-8'))
|
||||
return b64encode(json.dumps(query).encode('UTF-8')).decode("ascii")
|
||||
|
||||
|
||||
def query_from_base64(b64data):
|
||||
|
Reference in New Issue
Block a user