dashboard at /

This commit is contained in:
Sachi King 2017-06-26 22:20:20 +10:00
parent 1a54b0f9d6
commit 22680dd663

View file

@ -12,8 +12,6 @@ urlpatterns = [
url(r'^saml2/', include('djangosaml2.urls')), url(r'^saml2/', include('djangosaml2.urls')),
url(r"^admin/", include(admin.site.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"^speaker/", include("symposion.speakers.urls")),
url(r"^proposals/", include("symposion.proposals.urls")), url(r"^proposals/", include("symposion.proposals.urls")),
url(r"^reviews/", include("symposion.reviews.urls")), url(r"^reviews/", include("symposion.reviews.urls")),
@ -26,8 +24,8 @@ urlpatterns = [
url(r'^tickets/', include('registrasion.urls')), url(r'^tickets/', include('registrasion.urls')),
url(r'^nested_admin/', include('nested_admin.urls')), url(r'^nested_admin/', include('nested_admin.urls')),
# Matches *NOTHING* -- remove once site_tree is fixed url(r'^dashboard/' RedirectView.as_view(url='/')),
url(r"^$", TemplateView.as_view(template_name="homepage.html"), name="home"), url(r'^$', symposion.views.dashboard, name="dashboard"),
] ]