text: from django.conf.urls import patterns, include, url
  from django.conf import settings
  from django.conf.urls.defaults import *
  from django.views.generic.simple import direct_to_template
  from django.contrib import admin
  from openpds.core.tools import v1_api
  from django.views.generic.base import RedirectView
  
  admin.autodiscover()
  
  urlpatterns = patterns('openpds.views',
      (r'^$', RedirectView.as_view(url='https://play.google.com/store/apps/details?id=edu.mit.media.flumoji')),
      (r'^home/', 'home'),
      (r'^discovery/ping/', 'ping'),
      (r'^api/', include(v1_api.urls)),
      (r'^admin/audit', direct_to_template, { 'template' : 'audit.html' }),
      #(r'^documentation/', include('tastytools.urls'), {'api_name': v1_api.api_name}),
      (r'^admin/roles', direct_to_template, { 'template' : 'roles.html' }),
      (r'^admin/', include(admin.site.urls)),
      (r'visualization/', include('openpds.visualization.urls')),
      (r'stats/', include('openpds.visualization.stats_urls')),
      (r'^funf_connector/', include('openpds.connectors.funf.urls')),
      #(r'^funf_connector/', include('openpds.connectors.opensense.urls')),
      (r'^os_connector/', include('openpds.connectors.opensense.urls')),
      (r'^survey/', direct_to_template, { 'template' : 'survey.html' }),
      (r"meetup/", include("openpds.meetup.urls")),
      # Uncomment the admin/doc line below to enable admin documentation:
      # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      # Uncomment the next line to enable the admin:
      # url(r'^admin/', include(admin.site.urls)),
      (r"accesscontrol/", include("openpds.accesscontrol.urls")),
      (r'probevisualization/', direct_to_template, { 'template' : 'probevisualization.html' }),
      (r'^checkboxes/', direct_to_template, { 'template' : 'multiplecheckboxes.html' }),
  )
  urlpatterns += patterns('',
      (r'ref/([1234567890]*)', 'openpds.visualization.views.referral'),
  )