mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
parent
388d986b8a
commit
0ed7d15563
793 changed files with 2551 additions and 2333 deletions
|
@ -1,7 +1,8 @@
|
|||
import datetime
|
||||
|
||||
from django.db import models
|
||||
from django.db.models.fields.related import ReverseSingleRelatedObjectDescriptor
|
||||
from django.db.models.fields.related import \
|
||||
ReverseSingleRelatedObjectDescriptor
|
||||
from django.utils.encoding import python_2_unicode_compatible
|
||||
from django.utils.translation import get_language
|
||||
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
import datetime
|
||||
from operator import attrgetter
|
||||
|
||||
from .models import (
|
||||
Country, Person, Group, Membership, Friendship, Article,
|
||||
ArticleTranslation, ArticleTag, ArticleIdea, NewsArticle)
|
||||
from django import forms
|
||||
from django.core.exceptions import FieldError
|
||||
from django.test import TestCase, skipUnlessDBFeature
|
||||
from django.utils import translation
|
||||
from django.core.exceptions import FieldError
|
||||
from django import forms
|
||||
|
||||
from .models import (
|
||||
Article, ArticleIdea, ArticleTag, ArticleTranslation, Country, Friendship,
|
||||
Group, Membership, NewsArticle, Person,
|
||||
)
|
||||
|
||||
|
||||
# Note that these tests are testing internal implementation details.
|
||||
# ForeignObject is not part of public API.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue