Excellent. That functionality is exactly what I was looking for. May I suggest that this feature be more explicitly covered in the documentation. The existing documentation is great if you know exactly what you are looking for. For a newbie struggling with where to put his/her stylesheets and how to access them, this would be nearly useless (for example, my searches for related terms turned up nothing).
Unfortunately, I had already walked through the steps Leo pointed out. At least I'm more familiar with contexts and context processors now. :) Taft On Oct 24, 11:49 am, "Jonathan Buchanan" <[EMAIL PROTECTED]> wrote: > On 10/24/07, Leo Shklovskii <[EMAIL PROTECTED]> wrote: > > > > > > > You also want to look here for a suggestion on how to access > > settings.MEDIA_URL: > > >http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context... > > > I know (at least one of) the ticket(s) for embedding access to the > > MEDIA_URL in the default context has been closed as wontfix, but I think > > that this is a pretty significant feature that Django forces new users > > to figure out how to do their own way. Its effectively a wheel that > > nearly everyone is going to have to re-invent. There's many less obvious > > ways to a Django newcomer than to use the context processors. I > > initially wrote mine as a tag, which exactly as that article says, > > seemed a little awkward, but I didn't know any better. > > > It would be useful to at least have a recommended way of getting access > > to MEDIA_URL in the documentation if the Django team feels its > > inappropriate to add to the actual codebase (maybe in RequestContext?). > > > -- > > --Leo > > http://code.djangoproject.com/changeset/5379 > > Jonathan. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---