Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit cc26dd7

Browse files
update custom share function fetching
1 parent 4bfacbb commit cc26dd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inertia/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def render_inertia(request, component_name, props=None, template_name=None):
5050
)
5151

5252
# share custom data or default authenticated user
53+
# try:
54+
# share_method_path = settings.INERTIA_SHARE
5355
share_method_path = getattr(settings, "INERTIA_SHARE", "inertia.share.share_auth")
56+
import pdb; pdb.set_trace()
5457
if share_method_path:
5558
share_method = get_callable(share_method_path)
5659
share_method(request)

0 commit comments

Comments
 (0)