mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
Fix lint
This commit is contained in:
parent
d67570ee1f
commit
00472751dc
@ -8,6 +8,7 @@ import tempfile
|
||||
import uuid
|
||||
|
||||
import m3u8
|
||||
import webvtt
|
||||
from django.conf import settings
|
||||
from django.contrib.postgres.indexes import GinIndex
|
||||
from django.contrib.postgres.search import SearchVectorField
|
||||
@ -26,8 +27,6 @@ from mptt.models import MPTTModel, TreeForeignKey
|
||||
from . import helpers
|
||||
from .stop_words import STOP_WORDS
|
||||
|
||||
import webvtt
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
RE_TIMECODE = re.compile(r"(\d+:\d+:\d+.\d+)")
|
||||
|
@ -1,9 +1,9 @@
|
||||
from django.conf import settings
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.core.mail import EmailMessage
|
||||
from django.db.models import Q
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.shortcuts import render
|
||||
from django.db.models import Q
|
||||
from drf_yasg import openapi as openapi
|
||||
from drf_yasg.utils import swagger_auto_schema
|
||||
from rest_framework import generics, permissions, status
|
||||
@ -25,7 +25,7 @@ from files.methods import is_mediacms_editor, is_mediacms_manager
|
||||
from files.models import Playlist
|
||||
|
||||
from .forms import ChannelForm, UserForm
|
||||
from .models import Channel, User, Media
|
||||
from .models import Channel, Media, User
|
||||
from .serializers import LoginSerializer, UserDetailSerializer, UserSerializer
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user