diff --git a/lib/tri/tables/__init__.py b/lib/tri/tables/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/tri/tables/__init__.py
+++ b/lib/tri/tables/__init__.py
@@ -1,13 +1,10 @@
 # coding: utf-8
-from django.db.models import QuerySet
-
-__version__ = '0.3.0-dev'
-
 from copy import copy
 from itertools import groupby
 from django import forms
 from django.conf import settings
 from django.core.paginator import Paginator, InvalidPage
+from django.db.models.query import QuerySet
 from django.forms import fields
 from django.http import HttpResponse, Http404, HttpResponseRedirect
 from django.template import RequestContext
@@ -18,6 +15,9 @@ from django.utils.safestring import mark_safe
 from tri.tables.templatetags.tri_tables import lookup_attribute, yes_no_formatter, header_cell_formatter
 
 
+__version__ = '0.3.0-dev'
+
+
 class Struct(dict):
     """
     A dict-like object where keys can also be accessed as attributes.
Fix import that breaks on older django