django1/django/views
Jannis Leidel 8e96584f63 Fixed #14524, #14582, #14617, #14665 and #14667 -- Tweaked staticfiles app.
* Updated StaticFilesHandler and AdminMediaHandler
  to make use of the 404 handler if needed.

* Updated runserver management command to serve static files
  only in DEBUG mode (or if specified the --insecure option)
  and if the staticfiles app is in INSTALLED_APPS. Also added
  an option to disable serving completely (--nostatic).

* Added check in debug mode if STATICFILES_* settings are
  different to MEDIA_* settings.

* Removed a faulty PendingDeprecationWarning in AdminMediaHandler
  that is triggered every time runserver is used.

* Fixed an issue with the modification time checks when
  running collectstatic.

* Extended and refined documentation.

Thanks to everyone for input, especially to Carl Meyer, Ted Kaemming and
Adam Vandenberg for patches.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 21:43:49 +00:00
..
decorators Fixed #14565 - No csrf_token on 404 page. 2010-10-28 11:47:15 +00:00
generic Fixed #14558 -- Modified the way PUT and DELETE HTTP methods are handled so that overridden methods will get used correctly. Thanks to pyrou for the report and patch. 2010-10-28 02:59:04 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
csrf.py Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
debug.py Debug 404 page now displays names of URL patterns, if they exist. 2010-09-12 19:27:33 +00:00
defaults.py Fixed #14565 - No csrf_token on 404 page. 2010-10-28 11:47:15 +00:00
i18n.py Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz. 2010-11-04 10:48:27 +00:00
static.py Fixed #14524, #14582, #14617, #14665 and #14667 -- Tweaked staticfiles app. 2010-11-11 21:43:49 +00:00