This commit is contained in:
Kyle Maas 2023-09-03 16:03:32 +00:00
parent d67570ee1f
commit 00472751dc
2 changed files with 3 additions and 4 deletions

View File

@ -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+)")

View File

@ -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