File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,6 @@ def hello(request):
69
69
### ` CASBIN_MODEL `
70
70
A string containing the file location of your casbin model.
71
71
72
- ### ` CASBIN_LOG_ENABLED `
73
- If ` True ` , enables logging. ` False ` by default.
74
-
75
72
### ` CASBIN_ADAPTER `
76
73
A string containing the adapter import path. Defaults to the django adapter shipped with this package: ` casbin_adapter.adapter.Adapter `
77
74
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ def _load(self):
25
25
logger .info ("Performing deferred casbin enforcer initialisation" )
26
26
self ._initialized = True
27
27
model = getattr (settings , "CASBIN_MODEL" )
28
- enable_log = getattr (settings , "CASBIN_LOG_ENABLED" , False )
29
28
adapter_loc = getattr (settings , "CASBIN_ADAPTER" , "casbin_adapter.adapter.Adapter" )
30
29
adapter_args = getattr (settings , "CASBIN_ADAPTER_ARGS" , tuple ())
31
30
Adapter = import_class (adapter_loc )
You can’t perform that action at this time.
0 commit comments