* Use h1/h2 instead of h2/h3 in the templates, since there probably won't be a main...
[matthijs/projects/xerxes.git] / tools / context_processors.py
1 from django.conf import settings
2
3 """
4 Some useful context processors.
5 """
6 def static(request):
7     """
8     Adds url of static files to the context.
9     Requires STATIC_URL to be set in the settings.
10
11     """
12     return {'STATIC_URL_PREFIX': settings.STATIC_URL_PREFIX}