This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.auth.models import AnonymousUser | |
from django.db import close_old_connections | |
from django.conf import settings | |
from channels.sessions import CookieMiddleware | |
from channels.db import database_sync_to_async | |
from rest_framework_simplejwt.authentication import JWTAuthentication | |
import logging | |
logger = logging.getLogger(__name__) |