X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/090fa209bd92925fbd407b8c3e7c996f5762fd3f..d0deb0f3bebb42475b2b04d0ce389160cc219e44:/project/localsettings.sample diff --git a/project/localsettings.sample b/project/localsettings.sample new file mode 100644 index 00000000..1bac9557 --- /dev/null +++ b/project/localsettings.sample @@ -0,0 +1,39 @@ +# +# localsettings template for Platforma +# +# Duplicate this file as localsettings.py and change it to your liking. +# Settings defined in localsettings.py will override settings from +# settings.py file. localsettings.py should never be commited +# to a version control system. Please make changes to settings.py +# or localsettings.sample instead. +# + +# Path to repository with managed documents +REPOSITORY_PATH = '/home/user/repository' + +# Subdirectory of STATIC_ROOT containing images +IMAGE_DIR = 'images' + +# Authentication via Central Authentication Server +INSTALLED_APPS = ( + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.admin', + 'django.contrib.admindocs', + + 'cas_consumer', + 'explorer', + 'toolbar', + 'api', + 'wysiwyg', +) + +AUTHENTICATION_BACKENDS = ( + 'cas_consumer.backends.CASBackend', +) + +CAS_BASE = 'http://localhost:7000/' +CAS_SERVICE = 'http://localhost:8000/accounts/login/' +