from django.conf.urls import patterns, url
from corehq.apps.dashboard.views import *

urlpatterns = patterns('corehq.apps.dashboard.views',
    url(r'^$', 'dashboard_default', name='dashboard_default'),
    url(r'^project/$', DomainDashboardView.as_view(),
        name=DomainDashboardView.urlname),
)

from django.conf.urls import patterns, url

from corehq.apps.dashboard.views import dashboard_default, DomainDashboardView

urlpatterns = patterns('corehq.apps.dashboard.views',
    url(r'^$', dashboard_default, name='dashboard_default'),
    url(r'^project/$', DomainDashboardView.as_view(),
        name=DomainDashboardView.urlname),
)

update dashboard url