Revision 2ce0636e snf-okeanos-site/okeanos_site/settings.py
b/snf-okeanos-site/okeanos_site/settings.py | ||
---|---|---|
1 |
# extend specific synnefo default settings |
|
2 |
from synnefo.app_settings import * |
|
3 |
|
|
4 |
# extend static files map |
|
5 |
STATIC_FILES['okeanos_site'] = '' |
|
6 |
|
|
7 |
# append okeanos_site application to django installed apps |
|
8 |
INSTALLED_APPS = list(INSTALLED_APPS) + ['okeanos_site'] |
|
9 |
|
|
10 |
# invitations only, no login page exists |
|
11 |
# redirect client to the intro page |
|
12 |
LOGIN_URL = "http://okeanos.grnet.gr/intro" |
|
13 |
|
|
14 |
# redirect to login url (intro) on user logout |
|
15 |
LOGOUT_URL = LOGIN_URL |
|
16 |
|
|
17 |
# bypass Shibboleth authentication for /okeanos and /intro pages |
|
18 |
# (they should be available to the public) |
|
19 |
AAI_SKIP_AUTH_URLS = list(AAI_SKIP_AUTH_URLS) + ['/about', '/intro', '/okeanos_static'] |
|
20 |
|
|
21 |
# change django url configuration |
|
22 |
# okeanos_site.urls includes and extends/modifies synnefo.urls |
|
23 |
# based on the needs of okeanos aplha release |
|
24 |
ROOT_URLCONF = 'okeanos_site.urls' |
|
25 |
|
|
26 | 1 |
# the url that is linked with okenaos_site.views.index view |
27 | 2 |
OKEANOS_SITE_URL = "/about" |
28 | 3 |
|
... | ... | |
50 | 25 |
# |
51 | 26 |
# flowplayer.controls swf should be placed on the same url as flowplayer swf |
52 | 27 |
OKEANOS_VIDEO_FLOWPLAYER_URL = "http://okeanos.grnet.gr/intro_video/flowplayer-3.2.1.swf" |
28 |
|
Also available in: Unified diff