git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manifold url can be configured in myslice.ini - instead of in the git repo - so we...
[myslice.git]
/
portal
/
homeview.py
diff --git
a/portal/homeview.py
b/portal/homeview.py
index
fb01240
..
b9d039a
100644
(file)
--- 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 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):
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 {
def default_env (self):
return {
- '
manifold_url':Config.manifold_url
,
+ '
MANIFOLD_URL':Config.manifold_url()
,
}
def post (self,request):
}
def post (self,request):