from django.conf.urls import patterns

urlpatterns = patterns('',
    # Dashboard
    (r'^new_save_search/$', 'crits.dashboards.views.new_save_search'),
    (r'^dashboard/$', 'crits.dashboards.views.dashboard'),
    (r'^dashboard/(?P<dashId>\w+)/$', 'crits.dashboards.views.dashboard'),
    (r'^edit_save_search/(?P<id>\S+)/$', 'crits.dashboards.views.edit_save_search'),
    (r'^delete_save_search/$', 'crits.dashboards.views.delete_save_search'),
    (r'^load_data/(?P<obj>\w+)/$', 'crits.dashboards.views.load_data'),
    (r'^load_data/(?P<obj>\w+)/(?P<term>\w+)/$', 'crits.dashboards.views.load_data'),
    (r'^save_search/$', 'crits.dashboards.views.save_search'),
    (r'^save_new_dashboard/$', 'crits.dashboards.views.save_new_dashboard'),
    (r'^destroy_dashboard/$', 'crits.dashboards.views.destroy_dashboard'),
    (r'^get_dashboard_table_data/(?P<tableName>\w+)/$', 'crits.dashboards.views.get_dashboard_table_data'),
    (r'^saved_searches_list/$', 'crits.dashboards.views.saved_searches_list'),
    (r'^toggle_table_visibility/$', 'crits.dashboards.views.toggle_table_visibility'),
    (r'^set_default_dashboard/$', 'crits.dashboards.views.set_default_dashboard'),
    (r'^set_dashboard_public/$', 'crits.dashboards.views.set_dashboard_public'),
    (r'^ignore_parent/(?P<id>\S+)/$', 'crits.dashboards.views.ignore_parent'),
    (r'^delete_dashboard/$', 'crits.dashboards.views.delete_dashboard'),
    (r'^rename_dashboard/$', 'crits.dashboards.views.rename_dashboard'),
    (r'^change_theme/$', 'crits.dashboards.views.change_theme'),
    (r'^create_blank_dashboard/$', 'crits.dashboards.views.create_blank_dashboard'),
)

@@ -32,16 +32,28 @@
 tterns%0A%0A
+# Dashboard%0A
 urlpatte
@@ -72,26 +72,32 @@
 ns('
-',%0A    # Dashboard
+crits.dashboards.views',
 %0A   
@@ -122,39 +122,16 @@
 ch/$', '
-crits.dashboards.views.
 new_save
@@ -164,39 +164,16 @@
 rd/$', '
-crits.dashboards.views.
 dashboar
@@ -216,39 +216,16 @@
 +)/$', '
-crits.dashboards.views.
 dashboar
@@ -271,39 +271,16 @@
 +)/$', '
-crits.dashboards.views.
 edit_sav
@@ -323,39 +323,16 @@
 ch/$', '
-crits.dashboards.views.
 delete_s
@@ -381,39 +381,16 @@
 +)/$', '
-crits.dashboards.views.
 load_dat
@@ -444,39 +444,16 @@
 +)/$', '
-crits.dashboards.views.
 load_dat
@@ -482,39 +482,16 @@
 ch/$', '
-crits.dashboards.views.
 save_sea
@@ -529,39 +529,16 @@
 rd/$', '
-crits.dashboards.views.
 save_new
@@ -582,39 +582,16 @@
 rd/$', '
-crits.dashboards.views.
 destroy_
@@ -660,39 +660,16 @@
 +)/$', '
-crits.dashboards.views.
 get_dash
@@ -721,39 +721,16 @@
 st/$', '
-crits.dashboards.views.
 saved_se
@@ -781,39 +781,16 @@
 ty/$', '
-crits.dashboards.views.
 toggle_t
@@ -843,39 +843,16 @@
 rd/$', '
-crits.dashboards.views.
 set_defa
@@ -902,39 +902,16 @@
 ic/$', '
-crits.dashboards.views.
 set_dash
@@ -965,39 +965,16 @@
 +)/$', '
-crits.dashboards.views.
 ignore_p
@@ -1012,39 +1012,16 @@
 rd/$', '
-crits.dashboards.views.
 delete_d
@@ -1062,39 +1062,16 @@
 rd/$', '
-crits.dashboards.views.
 rename_d
@@ -1108,39 +1108,16 @@
 me/$', '
-crits.dashboards.views.
 change_t
@@ -1164,31 +1164,8 @@
 ', '
-crits.dashboards.views.
 crea

Include crits.dashboards.views as first argument in url file