<reponame>EnockOMONDI/NEIGHBOURHOOD<filename>neighbourhoodproject/views.py
from django.views.generic import TemplateView
from django.contrib.auth.mixins import LoginRequiredMixin
'''
this is the view responsible for the welcome page
'''

class HomePage(LoginRequiredMixin, TemplateView):
    template_name = 'index.html'

from django.views.generic import TemplateView
from django.contrib.auth.mixins import LoginRequiredMixin
'''
this is the view responsible for the welcome page
'''

class HomePage(LoginRequiredMixin, TemplateView):
    template_name = 'index.html'
this is the view responsible for the welcome page