old_contents: from django.conf.urls import patterns, include, url
  from django.conf import settings
  from django.contrib import admin
  admin.autodiscover()
  
  
  urlpatterns = patterns('',
      url(r'^admin/', include(admin.site.urls)),
      url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {
          'document_root': settings.STATIC_ROOT,
          'show_indexes': True,
      }),
  )
  
new_contents: from django.conf import settings
  from django.contrib import admin
  from django.views.static import serve
  from django.conf.urls import include, url
  admin.autodiscover()
  
  
  urlpatterns = (
      url(r'^admin/', include(admin.site.urls)),
      url(r'^static/(?P<path>.*)$', serve, {
          'document_root': settings.STATIC_ROOT,
          'show_indexes': True,
      }),
  )
  
subject: Upgrade to 1.10 style