Commit 4a4d5288 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

context_processors: Use new `reverse()` import

Fixes #9
parent 06e7b9ec
Pipeline #12956 passed with stage
in 7 seconds
......@@ -2,7 +2,12 @@
from __future__ import unicode_literals
import datetime
from django.conf import settings
from django.core.urlresolvers import reverse
# Available in Django 1.10+
from django.urls import reverse
except ImportError:
from django.core.urlresolvers import reverse
def tucal(request):
......@@ -30,5 +35,6 @@ def tucal(request):
'tucal_bootstrap_right': bootstrap_right
def press(request):
return {'display_press': False}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment