From be8173af513dfb86edf8fc2fd981cc9ce101229e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 19 Jan 2014 21:15:31 -0600 Subject: Fixed a small collection of flake8 violations that had snuck in --- django/contrib/contenttypes/__init__.py | 2 +- django/db/models/fields/related.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'django') diff --git a/django/contrib/contenttypes/__init__.py b/django/contrib/contenttypes/__init__.py index e061c232a1..5a04849f06 100644 --- a/django/contrib/contenttypes/__init__.py +++ b/django/contrib/contenttypes/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -from django.contrib.contenttypes.checks import check_generic_foreign_keys +from django.contrib.contenttypes.checks import check_generic_foreign_keys from django.core import checks diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index 570547cdcc..75e5f20fea 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -18,7 +18,6 @@ from django.utils.deprecation import RenameMethodsBase from django.utils.translation import ugettext_lazy as _ from django.utils.functional import curry, cached_property from django.core import exceptions -from django.apps import apps from django import forms RECURSIVE_RELATIONSHIP_CONSTANT = 'self' -- cgit v1.3