title: MEDIA_URL is empty in Django 1.4
body: <p>I have read <a href="https://stackoverflow.com/questions/3756841/django-media-url-blank">Django {{ MEDIA_URL }} blank</a> and <a href="https://stackoverflow.com/questions/901551/how-do-i-include-image-files-in-django-templates">How do I include image files in Django templates?</a> questions but error still here: MEDIA_URL is empty in template.</p>
  
  <p>My code:
  settings.py:</p>
  
  <pre><code>MEDIA_ROOT = "D:/blizzard/Projects/Python/Web/moz455/app/media" # or os.path.join(SiteDir, "app/media")
  MEDIA_URL = '/media/'
  STATIC_ROOT = 'F:/Soft/Python26/Lib/site-packages/django/contrib/admin/static'
  STATIC_URL = '/static/'
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>def gallery(request):
      ResponseDict = {}
      return render_to_response('gallery.html', ResponseDict, 
      context_instance = RequestContext(request))
  </code></pre>
  
  <p>urls.py:</p>
  
  <pre><code>urlpatterns = patterns('',
      (r'^gallery/', gallery),
      (r'^media/(?P&lt;path&gt;.*)$', 'django.views.static.serve',
                   {'document_root': settings.MEDIA_ROOT}),
  ) + static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)
  </code></pre>