#14582: django.contrib.staticfiles development file serving is backward- incompatible if MEDIA_URL was pointing to /static/ folder -----------------------------------+---------------------------------------- Reporter: kmike | Owner: jezdez Status: assigned | Milestone: 1.3 Component: Contrib apps | Version: SVN Resolution: | Keywords: staticfiles Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -----------------------------------+---------------------------------------- Changes (by tkaemming):
* cc: tkaemming (added) * has_patch: 0 => 1 Comment: I've created a patch for this that adds a "--nostatic" option to the "runserver" management command which prevents the StaticFilesHandler from being loaded. If the option is not used, the StaticFilesHandler will be used (as it is currently on trunk at r14509). This seems like a more appropriate solution than using django.conf.settings, since it only affects the "runserver" manage command. If this patch needs additional tests or documentation, I'd be happy to help with that as well. -- Ticket URL: <http://code.djangoproject.com/ticket/14582#comment:3> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.