old_contents: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from imager import settings
  from django.conf import settings as dcs
  from django.conf.urls.static import static
  
  urlpatterns = patterns('',
                         # Examples:
                         url(r'^$', 'imager.views.home', name='home'),
                         # url(r'^blog/', include('blog.urls')),
                         url(r'^admin/', include(admin.site.urls)),
                         url(r'^accounts/', include(
                             'registration.backends.default.urls'))
                         )
  
  if settings.DEBUG:
      urlpatterns += static(dcs.MEDIA_URL, document_root=dcs.MEDIA_ROOT)
  
new_contents: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from imager import settings
  from django.conf import settings as dcs
  from django.conf.urls.static import static
  
  urlpatterns = patterns('',
                         # Examples:
                         url(r'^home/$', 'imager.views.home', name='home'),
                         # url(r'^blog/', include('blog.urls')),
                         url(r'^admin/', include(admin.site.urls)),
                         # url(r'^accounts/', include(
                         #     'registration.backends.default.urls'))
                         )
  
  if settings.DEBUG:
      urlpatterns += static(dcs.MEDIA_URL, document_root=dcs.MEDIA_ROOT)
  
subject: fix home url.