From 4701827b0ad7d72d96ef4cccc43364730b21ed69 Mon Sep 17 00:00:00 2001 From: James Socol Date: Tue, 24 Jun 2014 16:45:43 -0400 Subject: [PATCH] Python3 moved this. --- jingo/helpers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jingo/helpers.py b/jingo/helpers.py index 50c6a1d..c14acd9 100644 --- a/jingo/helpers.py +++ b/jingo/helpers.py @@ -2,7 +2,10 @@ from __future__ import unicode_literals, print_function -import urlparse +try: + import urlparse +except ImportError: + import urllib.parse as urlparse from django.core.urlresolvers import reverse from django.http import QueryDict