Skip to content

Commit 701f04b

Browse files
committed
fix orjson import
1 parent a67ef57 commit 701f04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy_django/hooks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ async def _get_user_data(
489489
data[key] = new_value
490490
changed = True
491491
if changed:
492-
model.data = pickle.dumps(data)
492+
model.data = orjson.dumps(data)
493493
if save_default_data:
494494
await model.asave()
495495

0 commit comments

Comments
 (0)