import os
import sys
-path = '/var/myslice-f4f'
+#site.addsitedir('/var/www/myslice')
+
+path = '/var/www/myslice'
if path not in sys.path:
- sys.path.append(path)
+ sys.path = [path] + sys.path
+print sys.path
+
os.environ['DJANGO_SETTINGS_MODULE'] = 'myslice.settings'
import django.core.handlers.wsgi
# put stuff under static/
# IA_MEDIA_PREFIX = '/code/'
-SLA_MANAGER_PASSWORD = "password"
+SESSION_ENGINE = 'django.contrib.sessions.backends.file'
+
+ ####SLA#####
+
+ SLA_MANAGER_URL = "http://157.193.215.125:4000/sla-service"
+ SLA_MANAGER_USER = "normal_user"
++SLA_MANAGER_PASSWORD = "password"
import portal.homeview
import portal.newsview
+import plugins.cafe.edelberto
+
+ from portal.registrationview import RegistrationView
+ from portal.termsview import TermsView
+
home_view=portal.homeview.HomeView.as_view()
dashboard_view=portal.dashboardview.DashboardView.as_view()
platforms_view=portal.platformsview.PlatformsView.as_view()
});
</script>
</head>
- <body>
+ <body ng-app="ManifoldApp">
{% block container %}
{% block topmenu %}
- {% widget "_widget-topmenu.html" %}
+ {% widget "__widget-topmenu.html" %}
{% endblock topmenu %}
{% include 'messages-transient.html' %}
{% block base_content %}
{% insert_str prelude "js/logout.js" %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/{{ theme }}.css">
</head>
- <body>
+ <body ng-app="ManifoldApp">
{% block container %}
{% block topmenu %}
- {% include theme|add:"__widget-topmenu.html" %}
+ {% include theme|add:"_widget-topmenu.html" %}
{% endblock topmenu %}
{% include 'messages-transient.html' %}
{% block base_content %}