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):