  def redirect_view(request):
      return redirect('/view/')
  
  
  urlpatterns = patterns(
      '',
      url(r'^view/$', view),
      url(r'^session-view/$', session_view),
      url(r'^redirect-view/$', redirect_view),
  )
  
 
</s> remove )
 </s> add ] </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove     urlpatterns = patterns(
        '',
 </s> add     urlpatterns = [ </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove         nested_patterns = patterns(
            '',
 </s> add         nested_patterns = [
urlpatterns = [
  def redirect_view(request):
      return redirect('/view/')
  
  
urlpatterns = [
urlpatterns = [
      url(r'^view/$', view),
      url(r'^session-view/$', session_view),
      url(r'^redirect-view/$', redirect_view),
  )
  
keep keep keep keep replace replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_testing.py