X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=20cdbed8808cf656f8a2baaad97f11cfd987f666;hb=a39d44883f3424d04134e4105873e88336b00795;hp=7fc65b81e1db541cb3da12e0097d9af9c86d4ae2;hpb=a222cef0a10a5517349f05cea0e382b35e3a14a6;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py index 7fc65b81..20cdbed8 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -148,7 +148,7 @@ INSTALLED_APPS = ( 'auth', 'engine', 'plugins', - 'slice', + 'trash', # Uncomment the next line to enable the admin: # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: @@ -186,7 +186,13 @@ LOGGING = { AUTHENTICATION_BACKENDS = ( 'auth.backend.MyCustomBackend', 'auth.manifoldbackend.ManifoldBackend', ) +### the view to redirect malformed (i.e. with a wrong CSRF) incoming requests +# without this setting django will return a 403 forbidden error, which is fine +# if you need to see the error message then use this setting +CSRF_FAILURE_VIEW = 'engine.manifoldproxy.csrf_failure' + #################### for insert_above #IA_JS_FORMAT = "