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,9 +1,9 @@
|
|||
from django.contrib import admin
|
||||
from django.contrib.contenttypes.admin import GenericTabularInline
|
||||
|
||||
from .models import (Media, PhoneNumber, Episode, Contact,
|
||||
Category, EpisodePermanent)
|
||||
|
||||
from .models import (
|
||||
Category, Contact, Episode, EpisodePermanent, Media, PhoneNumber,
|
||||
)
|
||||
|
||||
site = admin.AdminSite(name="admin")
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.contrib.contenttypes.fields import (
|
||||
GenericForeignKey, GenericRelation
|
||||
GenericForeignKey, GenericRelation,
|
||||
)
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db import models
|
||||
|
|
|
@ -10,9 +10,8 @@ from django.forms.formsets import DEFAULT_MAX_NUM
|
|||
from django.forms.models import ModelForm
|
||||
from django.test import RequestFactory, TestCase, override_settings
|
||||
|
||||
# local test models
|
||||
from .admin import MediaInline, MediaPermanentInline, site as admin_site
|
||||
from .models import Episode, Media, EpisodePermanent, Category
|
||||
from .models import Category, Episode, EpisodePermanent, Media
|
||||
|
||||
|
||||
# Set TEMPLATE_DEBUG to True to ensure {% include %} will raise exceptions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue