X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fhomeview.py;h=b9d039a55870df47702ef561803b89fe535d93e9;hb=d384e4b10bf9ba67f610bef72cf0e5b2dd747baf;hp=592bc93269f9d788732655944c4f97fa619b28b0;hpb=937653fd70bbf7d95bcf870e7f2b46b4a8fec486;p=myslice.git diff --git a/portal/homeview.py b/portal/homeview.py index 592bc932..b9d039a5 100644 --- a/portal/homeview.py +++ b/portal/homeview.py @@ -7,7 +7,7 @@ from django.template import RequestContext from django.shortcuts import render_to_response from manifold.manifoldresult import ManifoldResult -from myslice.viewutils import topmenu_items, the_user +from ui.topmenu import topmenu_items, the_user from myslice.config import Config class HomeView (View): @@ -15,7 +15,7 @@ class HomeView (View): # expose this so we can mention the backend URL on the welcome page def default_env (self): return { - 'manifold_url':Config.manifold_url, + 'MANIFOLD_URL':Config.manifold_url(), } def post (self,request):