diff --git a/datatableview/__init__.py b/datatableview/__init__.py index b8348d88..d27c7543 100644 --- a/datatableview/__init__.py +++ b/datatableview/__init__.py @@ -7,7 +7,7 @@ __name__ = 'datatableview' __author__ = 'Autumn Valenta' -__version_info__ = (0, 9, 0) +__version_info__ = (0, 9, 1) __version__ = '.'.join(map(str, __version_info__)) __date__ = '2013/11/14 2:00:00 PM' __credits__ = ['Autumn Valenta', 'Steven Klass'] diff --git a/datatableview/columns.py b/datatableview/columns.py index 1895a4d6..2147d239 100644 --- a/datatableview/columns.py +++ b/datatableview/columns.py @@ -8,11 +8,9 @@ except ImportError: pass -import django from django.db import models from django.db.models import Model, Manager, Q -from django.db.models.fields import FieldDoesNotExist -from django.core.exceptions import ObjectDoesNotExist +from django.core.exceptions import FieldDoesNotExist, ObjectDoesNotExist from django.utils.encoding import smart_text from django.utils.safestring import mark_safe try: diff --git a/datatableview/compat.py b/datatableview/compat.py index 3c67aa82..d9fcb803 100644 --- a/datatableview/compat.py +++ b/datatableview/compat.py @@ -1,7 +1,6 @@ # -*- encoding: utf-8 -*- """ Backports of code left behind by new versions of Django. """ -import django from django.utils.html import escape try: from django.utils.encoding import escape_uri_path as django_escape_uri_path diff --git a/datatableview/datatables.py b/datatableview/datatables.py index 5eb17509..4978a2da 100644 --- a/datatableview/datatables.py +++ b/datatableview/datatables.py @@ -9,7 +9,7 @@ except ImportError: pass -from django.db.models.fields import FieldDoesNotExist +from django.core.exceptions import FieldDoesNotExist from django.template.loader import render_to_string from django.db.models import QuerySet try: diff --git a/datatableview/utils.py b/datatableview/utils.py index 61e63728..f6d7304a 100644 --- a/datatableview/utils.py +++ b/datatableview/utils.py @@ -6,7 +6,7 @@ pass from django.db import models -from django.db.models.fields import FieldDoesNotExist +from django.core.exceptions import FieldDoesNotExist from django.utils.text import smart_split @@ -109,4 +109,3 @@ def contains_plural_field(model, fields): def split_terms(s): return filter(None, map(lambda t: t.strip("'\" "), smart_split(s))) - diff --git a/setup.py b/setup.py index c5949bca..7e59a7ff 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ long_description = f.read() setup(name='django-datatable-view', - version='0.9.0', + version='0.9.1', description='This package is used in conjunction with the jQuery plugin ' '(http://http://datatables.net/), and supports state-saving detection' ' with (http://datatables.net/plug-ins/api). The package consists of '