Commit fca3ac78 by Kálmán Viktor

circle: redirect to dashboard from root url

parent 853694d7
......@@ -2,6 +2,8 @@ from django.conf.urls import patterns, include, url
# from django.views.generic import TemplateView
from django.contrib import admin
from django.shortcuts import redirect
from django.core.urlresolvers import reverse
from circle.settings.base import get_env_variable
......@@ -17,6 +19,7 @@ urlpatterns = patterns(
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^$', lambda x: redirect(reverse("dashboard.index"))),
url(r'^admin/', include(admin.site.urls)),
url(r'^network/', include('network.urls')),
url(r'^dashboard/', include('dashboard.urls')),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment