#1278: MEDIA_URL needs to be accessible from templates
------------------------+---------------------------------------------------
Reporter: matt | Owner: adrian
Status: reopened | Component: Template system
Version: SVN | Resolution:
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------+---------------------------------------------------
Comment (by Simon Litchfield <[EMAIL PROTECTED]>):
Agreed, but context processors and RequestContext are overly and
needlessly clunky for settings like MEDIA_URL which, lets be realistic for
a second, are needed in 99.9% of all half serious web sites.
This is definitely only one of those 'little things'; but, it's one of
those little things that's important, particularly for new users, and
needs to be done right. See my post above for some suggestions on how to
handle.
Come on people, using MEDIA_URL is not an exception here at all, it's the
rule; and a good practice that should be encouraged by the framework right
from square one.
--
Ticket URL: <http://code.djangoproject.com/ticket/1278#comment:8>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---