old_contents: from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.conf.urls.static import static
  from django.contrib import admin
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'tt.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
      url(r'^admin/', include(admin.site.urls)),
  ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  
new_contents: from django.conf import settings
  from django.conf.urls import include, url
  from django.conf.urls.static import static
  from django.contrib import admin
  
  urlpatterns = [
      # Examples:
      # url(r'^$', 'tt.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
      url(r'^admin/', include(admin.site.urls)),
  ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  
subject: Remove patterns from urls.py (Django 1.8+)