Hi all - interested to hear feedback on a minor but I feel important addition to allow MEDIA_URL and other selected constants to be accessible from templates -- http://code.djangoproject.com/ticket/1278#comment:6
Particularly important for new users (like me a couple days back). I was scratching my head wondering why I would bother setting it, if I couldn't use it. Then I was shocked to find you couldn't actually 'just do it', you had to write a context_processor - for what I think, is something everybody should be doing, who needs to link media from their templates. Adrian seems to think it's feature creep. But how else are we supposed to link media without access to MEDIA_URL? SmileyChris has submitted the perfect patch. You wouldn't even know it's there, unless of course you want to customise it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
