title: How to configure Django's "staticfiles" app to list directory contents?
body: <p>I'm using Django's built-in web server, in DEBUG mode.</p>
  
  <p>This is part of my <code>settings.py</code>:</p>
  
  <pre><code>STATIC_ROOT = '/home/user/static_root'
  STATIC_URL = '/static/'
  STATICFILES_DIRS = (
      '/abs/path/to/static/dir',
  )
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
  )
  </code></pre>
  
  <p>If I access <code>http://localhost:8000/static/png/</code>, I would expect to see a list of files available in <code>/abs/path/to/static/dir/png</code>. Instead I get a 404 error <em>"Directory indexes are not allowed here."</em></p>
  
  <p>Now if I access the files directly, e.g. <code>http://localhost:8000/static/png/test.png</code>, it works.</p>
  
  <p>I've already checked some answers (<a href="https://stackoverflow.com/search?q=Directory%20indexes%20are%20not%20allowed%20here%20django">here</a>) without success.</p>
  
  <p>So, does anyone know how to configure Django such that the <code>staticfiles</code> app lists directory contents?</p>