From 22680dd663eb1d1485854ec682856d7cc216af21 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Mon, 26 Jun 2017 22:20:20 +1000 Subject: [PATCH] dashboard at / --- pinaxcon/urls.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index 5da21fee..3eaf7f9a 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -12,8 +12,6 @@ urlpatterns = [ url(r'^saml2/', include('djangosaml2.urls')), url(r"^admin/", include(admin.site.urls)), - url(r"^dashboard/", symposion.views.dashboard, name="dashboard"), - url(r"^speaker/", include("symposion.speakers.urls")), url(r"^proposals/", include("symposion.proposals.urls")), url(r"^reviews/", include("symposion.reviews.urls")), @@ -26,8 +24,8 @@ urlpatterns = [ url(r'^tickets/', include('registrasion.urls')), url(r'^nested_admin/', include('nested_admin.urls')), - # Matches *NOTHING* -- remove once site_tree is fixed - url(r"^$", TemplateView.as_view(template_name="homepage.html"), name="home"), + url(r'^dashboard/' RedirectView.as_view(url='/')), + url(r'^$', symposion.views.dashboard, name="dashboard"), ]