X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=25c2a26e3a5d85510bd38207e2b768d6fda781e2;hb=f887983bf3592fec4e7c2035fa6d910e3808a627;hp=269bde332eb55f2ee3b2f6debe976d50dec9485b;hpb=306c03bac4230e04a3360ca12d0a24f39ea36df0;p=myslice.git diff --git a/myslice/settings.py b/myslice/settings.py index 269bde33..25c2a26e 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -98,10 +98,12 @@ STATICFILES_DIRS = ( # Don't forget to use absolute paths, not relative paths. # thierry os.path.join(ROOT,'all-static'), ('js', os.path.join(ROOT,'manifold/js')), - ('js', os.path.join(ROOT,'unfold/js')), - ('js', os.path.join(ROOT,'auth/js')), ('css', os.path.join(ROOT,'manifold/css')), + ('js', os.path.join(ROOT,'unfold/js')), ('css', os.path.join(ROOT,'unfold/css')), + ('js', os.path.join(ROOT,'auth/js')), + ('css', os.path.join(ROOT,'auth/css')), + ('img', os.path.join(ROOT,'auth/img')), ('css', os.path.join(ROOT,'views/css')), ('img', os.path.join(ROOT,'views/img')), ) @@ -182,11 +184,13 @@ INSTALLED_APPS = ( # views - more or less stable 'views', 'trash', + 'south', # managing database migrations # Uncomment the next line to enable the admin: # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'portal', + 'sample', # DEPRECATED # 'django.contrib.formtools', # DEPRECATED ## 'crispy_forms', # DEPRECATED # @@ -227,7 +231,7 @@ LOGGING = { } } -AUTHENTICATION_BACKENDS = ( 'auth.backend.MyCustomBackend', 'auth.manifoldbackend.ManifoldBackend', ) +AUTHENTICATION_BACKENDS = ( '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