Hi,
I'm switching sites over to 1.3 at the moment and I only just discovered
that my media files (the media_url ones, not the new static_url ones)
aren't served anymore by the development server ("runserver").
The static files (static_url) *are* served automatically in DEBUG mode,
which is a nice change from django 1.2 where I had to enable
django-staticfiles' static file handling by hand.
Now... If I look in the 1.3 change notes and follow some pointers I end
up at
https://docs.djangoproject.com/en/dev/howto/static-files/#django.conf.urls.static.static
There I see an "example for serving MEDIA_URL ('/media/') during
development". That's mentioned basically as an aside. So it looks like
I'm right that the DEBUG mode media_url handing is gone now.
Two questions:
- "Breaking" automatic media_url serving seems worthy of a real note in
the 1.3 changelog. That note isn't there. Is this bad? Or am I missing
something?
- Serving static_url automatically but omitting media_url is a bit
strange if you ask me. Is this a bug?
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.