Index: django/conf/global_settings.py
===================================================================
--- django/conf/global_settings.py	(revision 4556)
+++ django/conf/global_settings.py	(working copy)
@@ -138,6 +138,7 @@
     'django.core.context_processors.auth',
     'django.core.context_processors.debug',
     'django.core.context_processors.i18n',
+    'django.core.context_processors.media',
 #    'django.core.context_processors.request',
 )
 
Index: django/core/context_processors.py
===================================================================
--- django/core/context_processors.py	(revision 4556)
+++ django/core/context_processors.py	(working copy)
@@ -42,6 +42,15 @@
 
     return context_extras
 
+def media(request):
+    """
+    Adds context variables for the admin media prefix and the base
+    media URL.
+    
+    """
+    return {'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX,
+            'MEDIA_URL': settings.MEDIA_URL }
+
 def request(request):
     return {'request': request}
 
Index: docs/settings.txt
===================================================================
--- docs/settings.txt	(revision 4556)
+++ docs/settings.txt	(working copy)
@@ -718,7 +718,8 @@
 
     ("django.core.context_processors.auth",
     "django.core.context_processors.debug",
-    "django.core.context_processors.i18n")
+    "django.core.context_processors.i18n",
+    "django.core.context_processors.media")
 
 A tuple of callables that are used to populate the context in ``RequestContext``.
 These callables take a request object as their argument and return a dictionary
Index: docs/templates_python.txt
===================================================================
--- docs/templates_python.txt	(revision 4556)
+++ docs/templates_python.txt	(working copy)
@@ -291,7 +291,8 @@
 
     ("django.core.context_processors.auth",
     "django.core.context_processors.debug",
-    "django.core.context_processors.i18n")
+    "django.core.context_processors.i18n",
+    "django.core.context_processors.media")
 
 Each processor is applied in order. That means, if one processor adds a
 variable to the context and a second processor adds a variable with the same
@@ -387,6 +388,18 @@
 .. _LANGUAGE_CODE setting: ../settings/#language-code
 .. _internationalization docs: ../i18n/
 
+django.core.context_processors.media
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If ``TEMPLATE_CONTEXT_PROCESSORS`` contains this processors, every
+``RequestContext`` will contain these two variables:
+
+    * ``ADMIN_MEDIA_PREFIX`` -- The value of the `ADMIN_MEDIA_PREFIX setting`_.
+    * ``MEDIA_URL`` -- The value of the `MEDIA_URL setting`_.
+
+.. _ADMIN_MEDIA_PREFIX setting: ../settings/#admin-media-prefix
+.. _MEDIA_URL setting: ../settings/#media-url
+
 django.core.context_processors.request
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
