from django.shortcuts import render
from django.views import View
from django.views.generic import TemplateView


class HomeView(TemplateView):
    template_name = 'core/index.html'


def profile(request):
    user = request.user
    profile_object = user.profile
    return render(request, 'core/profile.html', {'profile': profile_object})

f9dcec91d15243bb6e449d6388be52d7bb1f3933
<mask token>

<mask token>


class HomeView(TemplateView):
    <mask token>


<mask token>

<mask token>


class HomeView(TemplateView):
    template_name = 'core/index.html'


def profile(request):
    user = request.user
    profile_object = user.profile
    return render(request, 'core/profile.html', {'profile': profile_object})

from django.shortcuts import render
from django.views import View
from django.views.generic import TemplateView


class HomeView(TemplateView):
    template_name = 'core/index.html'


def profile(request):
    user = request.user
    profile_object = user.profile
    return render(request, 'core/profile.html', {'profile': profile_object})
