old_contents: from django.conf.urls import patterns,url
  from datapoints import views
  from datapoints.models import *
  from django.views.generic import TemplateView
  
  urlpatterns = [
  
          ################
          ## DATAPOINTS ##
          ################
  
      ## INDEX ##
      url(r'^$', views.DataPointIndexView.as_view(),name='datapoint_index'),
  
       ## DASHBOARD ##
      url(r'^dashboard/$', views.DashBoardView.as_view(),name='dashboard'),
  
      ## CREATE ##
      url(r'^create/$', views.DataPointCreateView.as_view(),name='create_datapoint'),
  
      ## UPDATE ##
      url(r'^update/(?P<pk>[0-9]+)/$', views.DataPointUpdateView.as_view(),
          name='update_datapoint'),
  
      ## DELETE ##
      url(r'^delete/(?P<pk>[0-9]+)/$', views.DataPointDeleteView.as_view(),
          name='delete_datapoint'),
  
      ## SEARCH ##
      url(r'^search/$', views.search,name='search_datapoint'),
  
      ## META DATA ##
      url(r'^metadata/$', TemplateView.as_view(
          template_name = 'datapoints/metadata.html'),
          name='metadata_index'),
  
      ## PERMISSIONS NEEDED ##
      url(r'^permissions_needed/$', TemplateView.as_view(
          template_name='datapoints/permissions_needed.html'),
          name='permissions_needed'),
  
          ###############
          ## CAMPAIGNS ##
          ###############
  
      ## INDEX ##
      url(r'^campaigns$', views.CampaignIndexView.as_view(),
          name='campaign_index'),
  
      ## CREATE ##
      url(r'^campaign/create/$',
          views.CampaignCreateView.as_view(),
          name='create_campaign'),
  
      ## UPDATE ##
      url(r'^campaign/update/(?P<pk>[0-9]+)/$', views.CampaignUpdateView.as_view(),
          name='update_campaign'),
  
  
  ]
  
new_contents: from django.conf.urls import patterns,url
  from datapoints import views
  from datapoints.models import *
  from django.views.generic import TemplateView
  
  urlpatterns = [
  
          ################
          ## DATAPOINTS ##
          ################
  
      ## DASHBOARD ##
      url(r'^$', views.DashBoardView.as_view(),name='dashboard'),
  
      ## Data Table ##
      url(r'^table/$', views.DataPointIndexView.as_view(),name='datapoint_index'),
  
      ## CREATE ##
      url(r'^create/$', views.DataPointCreateView.as_view(),name='create_datapoint'),
  
      ## UPDATE ##
      url(r'^update/(?P<pk>[0-9]+)/$', views.DataPointUpdateView.as_view(),
          name='update_datapoint'),
  
      ## DELETE ##
      url(r'^delete/(?P<pk>[0-9]+)/$', views.DataPointDeleteView.as_view(),
          name='delete_datapoint'),
  
      ## SEARCH ##
      url(r'^search/$', views.search,name='search_datapoint'),
  
      ## META DATA ##
      url(r'^metadata/$', TemplateView.as_view(
          template_name = 'datapoints/metadata.html'),
          name='metadata_index'),
  
      ## PERMISSIONS NEEDED ##
      url(r'^permissions_needed/$', TemplateView.as_view(
          template_name='datapoints/permissions_needed.html'),
          name='permissions_needed'),
  
          ###############
          ## CAMPAIGNS ##
          ###############
  
      ## INDEX ##
      url(r'^campaigns$', views.CampaignIndexView.as_view(),
          name='campaign_index'),
  
      ## CREATE ##
      url(r'^campaign/create/$',
          views.CampaignCreateView.as_view(),
          name='create_campaign'),
  
      ## UPDATE ##
      url(r'^campaign/update/(?P<pk>[0-9]+)/$', views.CampaignUpdateView.as_view(),
          name='update_campaign'),
  
  
  ]
  
subject: Make the dashboard the index page