@ -1,6 +1,9 @@
# http://flask.pocoo.org/snippets/62/
from urlparse import urlparse, urljoin
try:
from urllib.parse import urlparse, urljoin
except ImportError:
from flask import request, url_for, redirect