Ticket #14507: 14507.diff
File 14507.diff, 620 bytes (added by , 14 years ago) |
---|
-
django/contrib/staticfiles/views.py
41 41 template hardcoded below, but if you'd like to override it, you can create 42 42 a template called ``static/directory_index.html``. 43 43 """ 44 if settings.DEBUG:44 if not settings.DEBUG: 45 45 raise ImproperlyConfigured("The view to serve static files can only " 46 46 "be used if the DEBUG setting is True") 47 47 if not document_root: