1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 00:47:10 +00:00

Remove additional newline in imports

This commit is contained in:
Alexandre Iooss 2020-09-23 20:19:31 +02:00
parent ad33d33e6c
commit 8d20b14cbb
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
15 changed files with 5 additions and 20 deletions

View File

@ -3,7 +3,6 @@
from django.test import TestCase from django.test import TestCase
from django.urls import reverse from django.urls import reverse
from users.models import User from users.models import User
""" """

View File

@ -9,7 +9,6 @@ from django.db.models import Count
from django.shortcuts import render from django.shortcuts import render
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from reversion.models import Revision from reversion.models import Revision
from med.settings import PAGINATION_NUMBER from med.settings import PAGINATION_NUMBER
from users.models import User from users.models import User

View File

@ -6,10 +6,9 @@ from django.urls import reverse
from django.utils.html import format_html from django.utils.html import format_html
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from reversion.admin import VersionAdmin from reversion.admin import VersionAdmin
from med.admin import admin_site from med.admin import admin_site
from .forms import MediaAdminForm from media.forms import MediaAdminForm
from .models import Auteur, BD, CD, Emprunt, FutureMedia, Jeu, Manga,\ from media.models import Auteur, BD, CD, Emprunt, FutureMedia, Jeu, Manga,\
Revue, Roman, Vinyle Revue, Roman, Vinyle

View File

@ -2,7 +2,6 @@ from argparse import FileType
from sys import stdin from sys import stdin
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.models import Auteur, CD from media.models import Auteur, CD

View File

@ -2,7 +2,6 @@ from time import sleep
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.forms import MediaAdminForm from media.forms import MediaAdminForm
from media.models import BD, FutureMedia, Manga, Roman from media.models import BD, FutureMedia, Manga, Roman

View File

@ -3,7 +3,6 @@ from sys import stdin
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.models import BD, FutureMedia, Manga, Roman from media.models import BD, FutureMedia, Manga, Roman
from media.validators import isbn_validator from media.validators import isbn_validator

View File

@ -4,7 +4,6 @@ from argparse import FileType
from sys import stdin from sys import stdin
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.models import Auteur, Roman from media.models import Auteur, Roman

View File

@ -2,7 +2,6 @@ from argparse import FileType
from sys import stdin from sys import stdin
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.models import Auteur, Vinyle from media.models import Auteur, Vinyle

View File

@ -1,7 +1,6 @@
from time import sleep from time import sleep
from django.core.management import BaseCommand from django.core.management import BaseCommand
from media.forms import MediaAdminForm from media.forms import MediaAdminForm
from media.models import BD, Manga from media.models import BD, Manga

View File

@ -4,7 +4,6 @@
import re import re
import requests import requests
from media.models import Auteur from media.models import Auteur

View File

@ -3,7 +3,6 @@
from django.test import TestCase from django.test import TestCase
from django.urls import reverse from django.urls import reverse
from media.models import Auteur, BD from media.models import Auteur, BD
from users.models import User from users.models import User

View File

@ -10,10 +10,9 @@ from django.urls import reverse
from django.utils.html import format_html from django.utils.html import format_html
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from reversion.admin import VersionAdmin from reversion.admin import VersionAdmin
from med.admin import admin_site from med.admin import admin_site
from .forms import UserCreationAdminForm from users.forms import UserCreationAdminForm
from .models import Adhesion, User from users.models import Adhesion, User
class AdhesionAdmin(VersionAdmin): class AdhesionAdmin(VersionAdmin):

View File

@ -6,7 +6,6 @@ from django.contrib.auth.models import AbstractUser
from django.db import models from django.db import models
from django.utils import timezone from django.utils import timezone
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from med.settings import MAX_EMPRUNT from med.settings import MAX_EMPRUNT

View File

@ -4,7 +4,6 @@
from django.core import mail from django.core import mail
from django.test import TestCase from django.test import TestCase
from django.urls import reverse from django.urls import reverse
from users.models import User from users.models import User
""" """

View File

@ -11,10 +11,9 @@ from django.template.context_processors import csrf
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from rest_framework import viewsets from rest_framework import viewsets
from reversion import revisions as reversion from reversion import revisions as reversion
from users.forms import BaseInfoForm from users.forms import BaseInfoForm
from users.models import Adhesion, User from users.models import Adhesion, User
from .serializers import GroupSerializer, UserSerializer from users.serializers import GroupSerializer, UserSerializer
def form(ctx, template, request): def form(ctx, template, request):