old_contents: import os
  
  from django.conf.urls.defaults import *
  from django.views.generic.simple import direct_to_template
  from django.views.generic import TemplateView
  from django.conf import settings
  
  from feedservice.webservice.views import ParseView, IndexView
  from feedservice.pubsubhubbub.views import SubscribeView
  
  
  urlpatterns = patterns('',
      (r'^$',               IndexView.as_view()),
      (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
      (r'^parse$',          ParseView.as_view()),
      (r'^subscribe$',      SubscribeView.as_view()),
  )
  
new_contents: import os
  
  from django.conf.urls import *
  from django.views.generic.simple import direct_to_template
  from django.views.generic import TemplateView
  from django.conf import settings
  
  from feedservice.webservice.views import ParseView, IndexView
  from feedservice.pubsubhubbub.views import SubscribeView
  
  
  urlpatterns = patterns('',
      (r'^$',               IndexView.as_view()),
      (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
      (r'^parse$',          ParseView.as_view()),
      (r'^subscribe$',      SubscribeView.as_view()),
  )
  
subject: fix new import path in recent Django versions