]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/generic/context_processors.py
Update to use a context processor for the MEDIA_URL rather than having to pass it...
[sommitrealweird.git] / sommitrealweird / generic / context_processors.py
1 from django.conf import settings
2
3 def media(request):
4     return {
5         'MEDIA_URL': settings.MEDIA_URL,
6     }