#1278: MEDIA_URL needs to be accessible from templates
----------------------+-----------------------------------------------------
   Reporter:  matt    |                Owner:  adrian         
     Status:  closed  |            Component:  Template system
    Version:  SVN     |           Resolution:  wontfix        
   Keywords:          |                Stage:  Unreviewed     
  Has_patch:  0       |           Needs_docs:  0              
Needs_tests:  0       |   Needs_better_patch:  0              
----------------------+-----------------------------------------------------
Comment (by SmileyChris):

 For posterity, here is Simon's idea as a patch (which should have read
 "patch with docs").
 
 Adrian, how do you link to your CSS in a template correctly without
 providing `MEDIA_URL` (or `STATIC_URL`, etc) to your templates or (ugh)
 hard-coding it?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/1278#comment:10>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to