title: Why django urls end with a slash?
body: <p>Django official documentation and other tutorials on the web always use a trailing slash at the end of url. ex:</p>
  
  <pre><code>url(r'^accounts/login/', views.login)  # login view in turn calls login.html
  
  # instead of
  
  url(r'^accounts/login', views.login)
  </code></pre>
  
  <p>Since <code>accounts</code> is the directory and <code>login (login.html)</code> is the file, shouldn't we be using second url? This will also make <code>GET</code> parameters look more structured:</p>
  
  <pre><code>accounts/login?name='abc'  # login is a file that is accepting parameters
  vs.
  accounts/login/?name='abc' # login directory (maybe index) is accepting parameters??
  </code></pre>