from django.utils.deprecation import MiddlewareMixin
from django.middleware.csrf import get_token


class Middleware(MiddlewareMixin):

    def process_request(self, request):
        get_token(request)

dc5ad896ab0978799eb5f14bee6dfad323f1e0e5
<mask token>

<mask token>


class Middleware(MiddlewareMixin):
    <mask token>

<mask token>


class Middleware(MiddlewareMixin):

    def process_request(self, request):
        get_token(request)

from django.utils.deprecation import MiddlewareMixin
from django.middleware.csrf import get_token


class Middleware(MiddlewareMixin):

    def process_request(self, request):
        get_token(request)
