default_manifold_admin_user = 'admin'
default_manifold_admin_password = 'demo'
- default_myslice_theme = 'onelab'
+ default_myslice_theme = 'fibre'
def __init__ (self):
parser.add_section('googlemap')
parser.set ('googlemap','api_key', None)
+ print os.path.join(ROOT,'myslice/myslice.ini')
parser.read (os.path.join(ROOT,'myslice/myslice.ini'))
+ print parser
self.config_parser=parser
def __getattr__(self, section):
# when deployed from a package
# this code is run by collectstatic too, so we cannot
# assume we have ./static present already
-HTTPROOT="/usr/share/unfold"
+HTTPROOT="/var/www/myslice"
# the place to store local data, like e.g. the sqlite db
-DATAROOT="/var/unfold"
+DATAROOT="/var/www/myslice"
# if not there, then we assume it's from a devel tree
if not os.path.isdir (os.path.join(HTTPROOT,"static")):
HTTPROOT=ROOT
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'unfold.wsgi.application'
+#WSGI_APPLICATION = 'myslice.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ #os.path.join(HTTPROOT,"templates"),
os.path.join(HTTPROOT,"templates"),
)
urls.append ( url ( r'^%s/'%aux, include ('%s.urls'%aux )))
urlpatterns = patterns(*urls)
+
+# Shibboleth - Edelberto
+urlpatterns += patterns('',
+ #url(r'^cafe/', 'plugins.cafe.edelberto.EdelbertoView.as_view()'),
+ url(r'^cafe/', 'plugins.cafe.edelberto.index'),
+)
+