a better way of url encoding the wholepagedness
diff --git a/planetstack/core/dashboard/sites.py b/planetstack/core/dashboard/sites.py
index a100117..194e805 100644
--- a/planetstack/core/dashboard/sites.py
+++ b/planetstack/core/dashboard/sites.py
@@ -33,6 +33,9 @@
name="interactions"),
url(r'^dashboard/(?P<name>\w+)/$', self.admin_view(DashboardDynamicView.as_view()),
name="dashboard"),
+ url(r'^dashboardWholePage/(?P<name>\w+)/$', self.admin_view(DashboardDynamicView.as_view()),
+ {"wholePage": True},
+ name="dashboardWholePage"),
url(r'^customize/$', self.admin_view(DashboardCustomize.as_view()),
name="customize"),
url(r'^hpcdashuserslices/', self.admin_view(DashboardUserSiteView.as_view()),
diff --git a/planetstack/core/dashboard/views/home.py b/planetstack/core/dashboard/views/home.py
index ac52b0b..974e3af 100644
--- a/planetstack/core/dashboard/views/home.py
+++ b/planetstack/core/dashboard/views/home.py
@@ -27,7 +27,7 @@
if name=="root":
return self.multiDashboardView(request, context)
- elif request.GET.get("wholePage",None):
+ elif kwargs.get("wholePage",None):
return self.singleFullView(request, name, context)
else:
return self.singleDashboardView(request, name, context)