from django.conf.urls import url

# View Imports
from . import views

app_name = "dashboard"

urlpatterns = [
    url(r'^$', views.DashboardIndex.as_view(), name='index'),
    url(r'^experts/$', views.expert_management, name='manage_experts'),
    url(r'^experts/(?P<username>.+)/$', views.expert_management, name="expert_detail"),
    url(r'^sessions/$', views.SessionManagement.as_view(), name="manage_sessions"),
    url(r'^teams/$', views.applicationoverview_team, name='manage_teams'),
    url(r'^teams/(?P<slug>.+)/$', views.team_management, name='team_detail'),
    url(r'^venues/$', views.VenueManagement.as_view(), name='manage_venues'),
    url(r'^venues/(?P<slug>[-\w]+)/$', views.VenueManagement.as_view(), name='manage_venue_detail'),
    url(r'^shifts/$', views.ShiftManagement.as_view(), name='manage_shifts'),
]

from django.conf.urls import url

# View Imports
from . import views

app_name = "dashboard"

urlpatterns = [
    url(r'^$', views.DashboardIndex.as_view(), name='index'),
    url(r'^experts/$', views.expert_management, name='manage_experts'),
    url(r'^experts/(?P<username>.+)/$', views.expert_management, name="expert_detail"),
    url(r'^sessions/$', views.SessionManagement.as_view(), name="manage_sessions"),
    url(r'^teams/$', views.applicationoverview_team, name='manage_teams'),
    url(r'^teams/(?P<slug>[-\w]+)/$', views.team_management, name='team_detail'),
    url(r'^venues/$', views.VenueManagement.as_view(), name='manage_venues'),
    url(r'^venues/(?P<slug>[-\w]+)/$', views.VenueManagement.as_view(), name='manage_venue_detail'),
    url(r'^shifts/$', views.ShiftManagement.as_view(), name='manage_shifts'),
]

set up the page and layout for Dashboard:Team Application Overview