File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44
55import requests
66from django .core .exceptions import ImproperlyConfigured
7- from django .http import HttpResponse
7+ from django .http import HttpRequest , HttpResponse
88from django .template .loader import render_to_string
99
1010from .helpers import deep_transform_callables , validate_type
1111from .prop_classes import DeferredProp , IgnoreOnFirstLoadProp , MergeableProp
1212from .settings import settings
1313
14+
1415INERTIA_REQUEST_ENCRYPT_HISTORY = "_inertia_encrypt_history"
1516INERTIA_SESSION_CLEAR_HISTORY = "_inertia_clear_history"
1617
1718INERTIA_TEMPLATE = "inertia.html"
1819INERTIA_SSR_TEMPLATE = "inertia_ssr.html"
1920
2021
21- class InertiaRequest :
22+ class InertiaRequest ( HttpRequest ) :
2223 def __init__ (self , request ):
2324 self .request = request
2425
You can’t perform that action at this time.
0 commit comments