old_contents: from __future__ import unicode_literals
  
  from django.conf.urls import patterns, include, url
  from django.contrib import admin
  
  
  admin.autodiscover()
  
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'fp.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
      url(r'^admin/', include(admin.site.urls)),
  )
  
new_contents: from __future__ import unicode_literals
  
  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
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  
  
  admin.autodiscover()
  
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'fp.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
      url(r'^admin/', include(admin.site.urls)),
  )
  
  
  if settings.DEBUG:
      urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
      urlpatterns += staticfiles_urlpatterns()
  
subject: Add django media file serving in debug mode