title: Django Error: Your URL pattern is invalid. Ensure that urlpatterns is a list of url() instances
body: <p>After upgrading to Django 1.10, I get the following error when I run <code>python manage.py runserver</code>:</p>
  
  <pre><code>?: (urls.E004) Your URL pattern ('^$', 'myapp.views.home') is invalid. Ensure that urlpatterns is a list of url() instances.
  HINT: Try using url() instead of a tuple.
  </code></pre>
  
  <p>My <code>urlpatterns</code> are as follows:</p>
  
  <pre><code>from myapp.views import home
  
  urlpatterns = [
      (r'^$', home, name='home'),
  ]
  </code></pre>