from django.shortcuts import render, redirect
from django.views import View


class IndexView(View):
    template_name = 'home_page.html'
    context = {}

    def get(self, request, *args, **kwargs):
        self.context['user'] = request.user
        return render(request, self.template_name, self.context)

ecd1eb676290cc3e6165a8a44ab03fcb07452fdc
<mask token>


class IndexView(View):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class IndexView(View):
    <mask token>
    <mask token>

    def get(self, request, *args, **kwargs):
        self.context['user'] = request.user
        return render(request, self.template_name, self.context)

<mask token>


class IndexView(View):
    template_name = 'home_page.html'
    context = {}

    def get(self, request, *args, **kwargs):
        self.context['user'] = request.user
        return render(request, self.template_name, self.context)

from django.shortcuts import render, redirect
from django.views import View


class IndexView(View):
    template_name = 'home_page.html'
    context = {}

    def get(self, request, *args, **kwargs):
        self.context['user'] = request.user
        return render(request, self.template_name, self.context)
