old_contents: from django.conf.urls.defaults import *
  from django.conf import settings
  from django.contrib import admin
  from rapidsms_httprouter.urls import urlpatterns as router_urls
  from rapidsms_xforms.urls import urlpatterns as xform_urls
  from education.urls import urlpatterns as edtrac_urls
  from contact.urls import urlpatterns as contact_urls
  admin.autodiscover()
  
  
  urlpatterns = patterns('',
      # Example:
      # (r'^my-project/', include('my_project.foo.urls')),
  
      # Uncomment the admin/doc line below to enable admin documentation:
      # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      (r'^admin/', include(admin.site.urls)),
  
      # RapidSMS core URLs
      (r'^account/', include('rapidsms.urls.login_logout')),
  #    url(r'^$', 'rapidsms.views.dashboard', name='rapidsms-dashboard'),
      url('^accounts/login', 'rapidsms.views.login', name="login"),
      url('^accounts/logout', 'rapidsms.views.logout', name="logout"),
      # RapidSMS contrib app URLs
      (r'^ajax/', include('rapidsms.contrib.ajax.urls')),
      (r'^export/', include('rapidsms.contrib.export.urls')),
      (r'^httptester/', include('rapidsms.contrib.httptester.urls')),
      (r'^locations/', include('rapidsms.contrib.locations.urls')),
      (r'^messaging/', include('rapidsms.contrib.messaging.urls')),
      (r'^registration/', include('auth.urls')),
      (r'^scheduler/', include('rapidsms.contrib.scheduler.urls')),
      (r'^polls/', include('poll.urls')),
      (r'^simple-autocomplete/', include('simple_autocomplete.urls')),
      # testing excel export
      
  ) + router_urls + xform_urls + contact_urls + edtrac_urls
  
  if settings.DEBUG:
      urlpatterns += patterns('',
          # helper URLs file that automatically serves the 'static' folder in
          # INSTALLED_APPS via the Django static media server (NOT for use in
          # production)
          (r'^', include('rapidsms.urls.static_media')),
      )
  
  from rapidsms_httprouter.router import get_router
  get_router(start_workers=True)
  
  
new_contents: from django.conf.urls.defaults import *
  from django.conf import settings
  from django.contrib import admin
  from rapidsms_httprouter.urls import urlpatterns as router_urls
  from rapidsms_xforms.urls import urlpatterns as xform_urls
  from education.urls import urlpatterns as edtrac_urls
  from contact.urls import urlpatterns as contact_urls
  admin.autodiscover()
  
  
  urlpatterns = patterns('',
      # Example:
      # (r'^my-project/', include('my_project.foo.urls')),
  
      # Uncomment the admin/doc line below to enable admin documentation:
      # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      (r'^admin/', include(admin.site.urls)),
  
      # RapidSMS core URLs
      (r'^account/', include('rapidsms.urls.login_logout')),
      url('^accounts/login', 'rapidsms.views.login', name="login"),
      url('^accounts/logout', 'rapidsms.views.logout', name="logout"),
      # RapidSMS contrib app URLs
      (r'^ajax/', include('rapidsms.contrib.ajax.urls')),
      (r'^export/', include('rapidsms.contrib.export.urls')),
      (r'^httptester/', include('rapidsms.contrib.httptester.urls')),
      (r'^locations/', include('rapidsms.contrib.locations.urls')),
      (r'^messaging/', include('rapidsms.contrib.messaging.urls')),
      (r'^registration/', include('auth.urls')),
      (r'^scheduler/', include('rapidsms.contrib.scheduler.urls')),
      (r'^polls/', include('poll.urls')),
      (r'^simple-autocomplete/', include('simple_autocomplete.urls')),
      # testing excel export
  ) + router_urls + xform_urls + contact_urls + edtrac_urls
  
  if settings.DEBUG:
      urlpatterns += patterns('',
          # helper URLs file that automatically serves the 'static' folder in
          # INSTALLED_APPS via the Django static media server (NOT for use in
          # production)
          (r'^', include('rapidsms.urls.static_media')),
      )
  
  from rapidsms_httprouter.router import get_router
  get_router(start_workers=True)
  
  
subject: Remove dupe route.