diff --git a/filebrowser/tests/test_sites.py b/filebrowser/tests/test_sites.py index 6d9a91a..9611c1b 100644 --- a/filebrowser/tests/test_sites.py +++ b/filebrowser/tests/test_sites.py @@ -21,7 +21,10 @@ from django.core.urlresolvers import get_resolver, get_urlconf, resolve, reverse from django.contrib.admin.templatetags.admin_static import static from django.test.utils import override_settings -from django.utils.six.moves.urllib.parse import urlencode +try: + from django.utils.six.moves.urllib.parse import urlencode +except: + from django.utils.http import urlencode # FILEBROWSER IMPORTS import filebrowser.settings