[1.7.x] flake8 fixes.

Backport of 45c2d1f5d9 from master.
This commit is contained in:
Tim Graham 2014-04-30 18:33:46 -04:00
parent 3cd1db9121
commit e5941ba5f3
2 changed files with 1 additions and 3 deletions

View File

@ -5,9 +5,6 @@ import sys
from django.apps import apps
from django.db.migrations.recorder import MigrationRecorder
from django.db.migrations.graph import MigrationGraph
from django.db.migrations.migration import Migration
from django.db.migrations.state import ModelState
from django.db.migrations import operations
from django.utils import six
from django.conf import settings

View File

@ -347,6 +347,7 @@ class StateTests(TestCase):
class TestModel(models.Model):
ct = models.ForeignKey("contenttypes.ContentType")
class Meta:
app_label = "migrations"
apps = new_apps