#14582: django.contrib.staticfiles development file serving is backward- incompatible if MEDIA_URL was pointing to /static/ folder --------------------------+------------------------------------------------- Reporter: kmike | Owner: nobody Status: new | Milestone: 1.3 Component: Contrib apps | Version: SVN Keywords: staticfiles | Stage: Unreviewed Has_patch: 0 | --------------------------+------------------------------------------------- My project has these settings:
{{{ # settings.py MEDIA_ROOT = os.path.join(PROJECT_PATH, 'static') MEDIA_URL = '/static/' }}} {{{ #urls.py if settings.DEBUG: urlpatterns += patterns('', (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), ) }}} after updating from django 1.2 to django trunk @14352 static files serving during development becomes broken: all requests to static files return 404 error now. -- Ticket URL: <http://code.djangoproject.com/ticket/14582> 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.