File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,9 +69,6 @@ def hello(request):
6969### ` CASBIN_MODEL `
7070A string containing the file location of your casbin model.
7171
72- ### ` CASBIN_LOG_ENABLED `
73- If ` True ` , enables logging. ` False ` by default.
74-
7572### ` CASBIN_ADAPTER `
7673A string containing the adapter import path. Defaults to the django adapter shipped with this package: ` casbin_adapter.adapter.Adapter `
7774
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ def _load(self):
2525 logger .info ("Performing deferred casbin enforcer initialisation" )
2626 self ._initialized = True
2727 model = getattr (settings , "CASBIN_MODEL" )
28- enable_log = getattr (settings , "CASBIN_LOG_ENABLED" , False )
2928 adapter_loc = getattr (settings , "CASBIN_ADAPTER" , "casbin_adapter.adapter.Adapter" )
3029 adapter_args = getattr (settings , "CASBIN_ADAPTER_ARGS" , tuple ())
3130 Adapter = import_class (adapter_loc )
You can’t perform that action at this time.
0 commit comments