mirror of
https://github.com/django/django.git
synced 2025-06-07 04:29:12 +00:00
[1.7.x] Fixed several flake8 errors
Backport of d015c9d11c from master
This commit is contained in:
parent
819d5f0c89
commit
1d9f308fa1
@ -142,7 +142,6 @@ class OperationTests(OperationTestBase):
|
|||||||
both forwards and backwards.
|
both forwards and backwards.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def test_create_model(self):
|
def test_create_model(self):
|
||||||
"""
|
"""
|
||||||
Tests the CreateModel operation.
|
Tests the CreateModel operation.
|
||||||
|
@ -7,7 +7,6 @@ from django.db import connection, DatabaseError, IntegrityError, OperationalErro
|
|||||||
from django.db.models.fields import IntegerField, TextField, CharField, SlugField, BooleanField, BinaryField
|
from django.db.models.fields import IntegerField, TextField, CharField, SlugField, BooleanField, BinaryField
|
||||||
from django.db.models.fields.related import ManyToManyField, ForeignKey
|
from django.db.models.fields.related import ManyToManyField, ForeignKey
|
||||||
from django.db.transaction import atomic
|
from django.db.transaction import atomic
|
||||||
from django.utils import six
|
|
||||||
from .models import (Author, AuthorWithM2M, Book, BookWithLongName,
|
from .models import (Author, AuthorWithM2M, Book, BookWithLongName,
|
||||||
BookWithSlug, BookWithM2M, Tag, TagIndexed, TagM2MTest, TagUniqueRename,
|
BookWithSlug, BookWithM2M, Tag, TagIndexed, TagM2MTest, TagUniqueRename,
|
||||||
UniqueTest, Thing, TagThrough, BookWithM2MThrough, AuthorTag, AuthorWithM2MThrough)
|
UniqueTest, Thing, TagThrough, BookWithM2MThrough, AuthorTag, AuthorWithM2MThrough)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user