#14617 closed (fixed)
Docs should mention runserver's automatic serving of static files
Reported by: | Chris Beaven | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | Documentation | Version: | |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Specifically, here: http://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-development.
I'm assigning to jezdez but I'm sure he'd appreciate anyone throwing a doc patch up :)
Change History (5)
comment:1 by , 14 years ago
Status: | new → assigned |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
This django-developers post is relevant to how this patch still needs improvement: http://groups.google.com/group/django-developers/msg/653fb09eee4d86be
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [14533]) 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.
I have some documentation improvements (hopefully!) here: https://github.com/carljm/django/compare/master...staticfiles-docs
Some things I'm not satisfied with / sure about: