title: django trailing slash not being added
body: <p>so i have a django app, and i visit this url:</p>
  
  <pre><code>http://127.0.0.1:8000/stories
  </code></pre>
  
  <p>and i get this:</p>
  
  <pre><code>Request Method:     GET
  
  Request URL:    http://127.0.0.1:8000/stories
  
  "stories" does not exist
  </code></pre>
  
  <p>and then i check out the urls.py and i see:</p>
  
  <pre><code>#stories
  url(r'^stories/$',
      StoryShowView.as_view(
          context_object_name='story_list',
          template_name='accounts/viewAndAddStory.html')
  ),
  </code></pre>
  
  <p>and finally, i look at my settins.py and i see:</p>
  
  <pre><code>#appends a slash if nothing is found without a slash.
  APPEND_SLASH = True
  </code></pre>
  
  <p>shouldn't, with the APPEND_SLASH set as above, the url without the slash be 301 redirected to the url with the slash, and then the webpage load?</p>
  
  <p>if i <em>do</em> manually add the slash to the url, then the page loads as expected and everybody has some tea and knocks off early.</p>
  
  <p>UPDATE:</p>
  
  <p>i also have this entry in my settings.py:</p>
  
  <pre><code>MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  )
  </code></pre>
  
  <p>UPDATE: </p>
  
  <p>from the error message on the page when i try to access the url:</p>
  
  <blockquote>
    <p>Django Version:  1.3.1</p>
  </blockquote>
  
  <p>SOLVED: so okm was bang on the money, honey. The problem was my urls - right at the bottom, i had this:</p>
  
  <pre><code>if settings.DEBUG:
      urlpatterns += patterns('',
          url(r'^%s(?P&lt;path&gt;.*)$' % settings.MEDIA_URL[1:],
          'django.views.static.serve',
          {'document_root': settings.MEDIA_ROOT, 'show_indexes': True})
      )
  </code></pre>
  
  <p>What i hadn't, however, done was that the MEDIA_URL and the MEDIA_ROOT weren't entered in my <code>settings.py</code> - they were both just empty strings ('')</p>
  
  <p>so the url finding thing was finding all the urls i'd entered, thinking they were css entries. I entered the values for the media_root (folder where my css etc files are) and media_url (the url i was using to indicate to get static files) and all was good.</p>