Browse Source

fixed model imports for room token

master
Mohsen Taba 4 months ago
parent
commit
aa183d67fe
  1. 2
      apps/course/views/live_session.py
  2. 6
      entrypoint.sh

2
apps/course/views/live_session.py

@ -11,7 +11,7 @@ from rest_framework.authentication import TokenAuthentication
from rest_framework.response import Response
from drf_yasg.utils import swagger_auto_schema
from drf_yasg import openapi
from datetime import time
import time
import jwt
from apps.course.models import Course, CourseLiveSession, Participant, LiveSessionRecording
from apps.course.serializers import LiveSessionRoomCreateSerializer, LiveSessionTokenSerializer, LiveSessionRecordedFileSerializer, LiveSessionRecordingSerializer

6
entrypoint.sh

@ -5,9 +5,9 @@ python manage.py migrate
# python manage.py seed_images
python manage.py collectstatic --noinput
pip uninstall jwt
pip uninstall PyJWT
pip install PyJWT
# pip uninstall jwt
# pip uninstall PyJWT
# pip install PyJWT
# Seed Russian data (only runs once, skips if data exists)
# python manage.py seed_corrections
# python manage.py seed_russian_data

Loading…
Cancel
Save