default safe mode for activity serialization
This commit is contained in:
parent
4d0e52bf51
commit
fba53c72e0
2 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@ class ActivitypubResponse(JsonResponse):
|
|||
configures some stuff beforehand. Made to be a drop-in replacement of
|
||||
JsonResponse.
|
||||
"""
|
||||
def __init__(self, data, encoder=ActivityEncoder, safe=True,
|
||||
def __init__(self, data, encoder=ActivityEncoder, safe=False,
|
||||
json_dumps_params=None, **kwargs):
|
||||
|
||||
if 'content_type' not in kwargs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue