Changes between Version 60 and Version 61 of IrcFAQ


Ignore:
Timestamp:
Mar 20, 2008, 8:04:43 AM (17 years ago)
Author:
Kellen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IrcFAQ

    v60 v61  
    9090If you're running Apache, read this: http://www.djangoproject.com/documentation/modpython/#serving-media-files
    9191
     92== Do I have to hard-code my media URL in all my templates for CSS, images and Javascript? == #MediaURL
     93
     94No; you can use {{ MEDIA_URL }}. If you're using the development version of django and generic views, you can use {{ MEDIA_URL }} without changing anything.
     95
     96If you're using the development version and render_to_response(), you'll have to include RequestContext, as described here: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext
     97
     98If you're using 0.96, you can get the same functionality by creating a template context processor, as described: http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/
     99
    92100== I'm trying to install Django on Windows and something is weird. == #Windows
    93101
Back to Top