diff options
Diffstat (limited to 'django/core/context_processors.py')
| -rw-r--r-- | django/core/context_processors.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/django/core/context_processors.py b/django/core/context_processors.py index 7a59728bfc..fa05d425f6 100644 --- a/django/core/context_processors.py +++ b/django/core/context_processors.py @@ -66,6 +66,13 @@ def i18n(request): return context_extras +def static(request): + """ + Adds static-related context variables to the context. + + """ + return {'STATIC_URL': settings.STATIC_URL} + def media(request): """ Adds media-related context variables to the context. |
