X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fhomeview.py;h=b9d039a55870df47702ef561803b89fe535d93e9;hb=10af098ebfcc500aef11ce9154028b8e20a0b046;hp=fb0124022644327adca9026f57ca2f9f9d0aa8bf;hpb=b73a8d10b2caf5f40bd354beb5c109b57ef7ad35;p=myslice.git diff --git a/portal/homeview.py b/portal/homeview.py index fb012402..b9d039a5 100644 --- a/portal/homeview.py +++ b/portal/homeview.py @@ -7,14 +7,15 @@ 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): + # 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):