diff --git a/beat/web/ui/templatetags/gravatar.py b/beat/web/ui/templatetags/gravatar.py
index b7b2876a1da5dd880f6aa0551789d0872eebd8a5..87566080d115541ce979c3939788849f8ceacf29 100644
--- a/beat/web/ui/templatetags/gravatar.py
+++ b/beat/web/ui/templatetags/gravatar.py
@@ -28,9 +28,9 @@
 from django.conf import settings
 from django import template
 from django.template.defaultfilters import stringfilter
+from django.utils import six
 
 import hashlib
-import six
 
 
 register = template.Library()