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 4
4
5
5
import requests
6
6
from django .core .exceptions import ImproperlyConfigured
7
- from django .http import HttpResponse
7
+ from django .http import HttpRequest , HttpResponse
8
8
from django .template .loader import render_to_string
9
9
10
10
from .helpers import deep_transform_callables , validate_type
11
11
from .prop_classes import DeferredProp , IgnoreOnFirstLoadProp , MergeableProp
12
12
from .settings import settings
13
13
14
+
14
15
INERTIA_REQUEST_ENCRYPT_HISTORY = "_inertia_encrypt_history"
15
16
INERTIA_SESSION_CLEAR_HISTORY = "_inertia_clear_history"
16
17
17
18
INERTIA_TEMPLATE = "inertia.html"
18
19
INERTIA_SSR_TEMPLATE = "inertia_ssr.html"
19
20
20
21
21
- class InertiaRequest :
22
+ class InertiaRequest ( HttpRequest ) :
22
23
def __init__ (self , request ):
23
24
self .request = request
24
25
You can’t perform that action at this time.
0 commit comments