old_contents: from django.conf.urls import patterns, include, url
  
  urlpatterns = patterns(
      '',
      url(r'^ajax/', include('ajax.urls', namespace='ajax')),
      url(r'^', include('pages.urls', namespace='pages')),
  )
  
new_contents: from django.conf.urls import patterns, include, url
  
  urlpatterns = patterns(
      '',
      url(r'^ajax/', include('ajax.urls', namespace='ajax')),
      url(r'', include('pages.urls', namespace='pages')),
  )
  
subject: Fix URL pattern in new versions of Django