summaryrefslogtreecommitdiffstats
path: root/admin_tools/dashboard/dashboards.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin_tools/dashboard/dashboards.py')
-rw-r--r--admin_tools/dashboard/dashboards.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/admin_tools/dashboard/dashboards.py b/admin_tools/dashboard/dashboards.py
index 2c1a72d..d5242c8 100644
--- a/admin_tools/dashboard/dashboards.py
+++ b/admin_tools/dashboard/dashboards.py
@@ -11,11 +11,7 @@ except ImportError:
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse
from django.contrib.contenttypes.models import ContentType
-try:
- from django.utils.encoding import force_text
-except ImportError:
- # Django < 1.5
- from django.utils.encoding import force_unicode as force_text
+from django.utils.encoding import force_text
from admin_tools.dashboard import modules
from admin_tools.utils import get_admin_site_name, uniquify