Remove additional newline in imports
This commit is contained in:
parent
ad33d33e6c
commit
8d20b14cbb
|
@ -3,7 +3,6 @@
|
|||
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse
|
||||
|
||||
from users.models import User
|
||||
|
||||
"""
|
||||
|
|
|
@ -9,7 +9,6 @@ from django.db.models import Count
|
|||
from django.shortcuts import render
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from reversion.models import Revision
|
||||
|
||||
from med.settings import PAGINATION_NUMBER
|
||||
from users.models import User
|
||||
|
||||
|
|
|
@ -6,10 +6,9 @@ from django.urls import reverse
|
|||
from django.utils.html import format_html
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from reversion.admin import VersionAdmin
|
||||
|
||||
from med.admin import admin_site
|
||||
from .forms import MediaAdminForm
|
||||
from .models import Auteur, BD, CD, Emprunt, FutureMedia, Jeu, Manga,\
|
||||
from media.forms import MediaAdminForm
|
||||
from media.models import Auteur, BD, CD, Emprunt, FutureMedia, Jeu, Manga,\
|
||||
Revue, Roman, Vinyle
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ from argparse import FileType
|
|||
from sys import stdin
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.models import Auteur, CD
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ from time import sleep
|
|||
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.forms import MediaAdminForm
|
||||
from media.models import BD, FutureMedia, Manga, Roman
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ from sys import stdin
|
|||
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.models import BD, FutureMedia, Manga, Roman
|
||||
from media.validators import isbn_validator
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ from argparse import FileType
|
|||
from sys import stdin
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.models import Auteur, Roman
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ from argparse import FileType
|
|||
from sys import stdin
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.models import Auteur, Vinyle
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from time import sleep
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from media.forms import MediaAdminForm
|
||||
from media.models import BD, Manga
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
import re
|
||||
|
||||
import requests
|
||||
|
||||
from media.models import Auteur
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse
|
||||
|
||||
from media.models import Auteur, BD
|
||||
from users.models import User
|
||||
|
||||
|
|
|
@ -10,10 +10,9 @@ from django.urls import reverse
|
|||
from django.utils.html import format_html
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from reversion.admin import VersionAdmin
|
||||
|
||||
from med.admin import admin_site
|
||||
from .forms import UserCreationAdminForm
|
||||
from .models import Adhesion, User
|
||||
from users.forms import UserCreationAdminForm
|
||||
from users.models import Adhesion, User
|
||||
|
||||
|
||||
class AdhesionAdmin(VersionAdmin):
|
||||
|
|
|
@ -6,7 +6,6 @@ from django.contrib.auth.models import AbstractUser
|
|||
from django.db import models
|
||||
from django.utils import timezone
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from med.settings import MAX_EMPRUNT
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
from django.core import mail
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse
|
||||
|
||||
from users.models import User
|
||||
|
||||
"""
|
||||
|
|
|
@ -11,10 +11,9 @@ from django.template.context_processors import csrf
|
|||
from django.utils.translation import ugettext_lazy as _
|
||||
from rest_framework import viewsets
|
||||
from reversion import revisions as reversion
|
||||
|
||||
from users.forms import BaseInfoForm
|
||||
from users.models import Adhesion, User
|
||||
from .serializers import GroupSerializer, UserSerializer
|
||||
from users.serializers import GroupSerializer, UserSerializer
|
||||
|
||||
|
||||
def form(ctx, template, request):
|
||||
|
|
Loading…
Reference in New Issue