Skip to content

Commit

Permalink
compatibility with tests and older django versions (1.4.)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehmaschine committed Apr 13, 2014
1 parent 2d1c532 commit 9430241
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion filebrowser/tests/test_sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9430241

Please sign in to comment.