title: What is the difference between url() and tuple for urlpatterns in Django?
body: <p>So in Django the two lines of url code below work the same:</p>
  
  <pre><code>urlpatterns = patterns('',
      url(r'^login/$', 'django.contrib.auth.views.login'),
      (r'^login/$', 'django.contrib.auth.views.login')
  )
  </code></pre>
  
  <p>AFAIK, the only difference is I can define <code>name='login'</code> so I can use it for reversing url. But besides this, is there any other differences?</p>