Code

Changes between Version 1 and Version 2 of CookBookUsingExternalMedia


Ignore:
Timestamp:
08/30/07 11:31:07 (7 years ago)
Author:
Rob Hudson
Comment:

Adding note about the built-in media context processor.

Legend:

Unmodified
Added
Removed
Modified
  • CookBookUsingExternalMedia

    v1 v2  
    3838 
    3939and from there, the MEDIA_URL in settings.py became available in all templates as {{media_url}}. 
     40 
     41Note: There is a default media context processor since revision 5379 and will be included in version 0.97 once it is released.  See http://code.djangoproject.com/changeset/5379.  You can access using {{ MEDIA_URL }} in your templates.