Browse files

4 flake8 warning fixes

  • Loading branch information...
1 parent abccbcf commit add1584bfa89cec574491bd42af7039d4869afd3 @alex alex committed Mar 8, 2014
Showing with 2 additions and 3 deletions.
  1. +1 −2 django/db/models/sql/query.py
  2. +1 −0 tests/admin_checks/models.py
  3. +0 −1 tests/field_deconstruction/tests.py
View
3 django/db/models/sql/query.py
@@ -17,7 +17,6 @@
from django.db.models.aggregates import refs_aggregate
from django.db.models.expressions import ExpressionNode
from django.db.models.fields import FieldDoesNotExist
-from django.db.models.lookups import Transform
from django.db.models.query_utils import Q
from django.db.models.related import PathInfo
from django.db.models.sql import aggregates as base_aggregates_module
@@ -28,7 +27,7 @@
from django.db.models.sql.where import (WhereNode, Constraint, EverythingNode,
ExtraWhere, AND, OR, EmptyWhere)
from django.utils import six
-from django.utils.deprecation import RemovedInDjango19Warning
+from django.utils.deprecation import RemovedInDjango19Warning
from django.utils.encoding import force_text
from django.utils.tree import Node
View
1 tests/admin_checks/models.py
@@ -7,6 +7,7 @@
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.fields import GenericForeignKey
+
class Album(models.Model):
title = models.CharField(max_length=150)
View
1 tests/field_deconstruction/tests.py
@@ -318,4 +318,3 @@ def test_url_field(self):
self.assertEqual(path, "django.db.models.URLField")
self.assertEqual(args, [])
self.assertEqual(kwargs, {"max_length": 231})
-

0 comments on commit add1584

Please sign in to comment.