from django.shortcuts import get_object_or_404
from django.views.generic import TemplateView
from ..models import Village, CallSession


class Village(TemplateView):

    def get(self, request, session_id):
        session = get_object_or_404(CallSession, pk=session_id)
        return request, session

0ea3af57b5f9b05e32d4692254c8a44b4dc7a8ec
<mask token>

<mask token>


class Village(TemplateView):
    <mask token>

<mask token>


class Village(TemplateView):

    def get(self, request, session_id):
        session = get_object_or_404(CallSession, pk=session_id)
        return request, session

from django.shortcuts import get_object_or_404
from django.views.generic import TemplateView
from ..models import Village, CallSession


class Village(TemplateView):

    def get(self, request, session_id):
        session = get_object_or_404(CallSession, pk=session_id)
        return request, session
