aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/pages/views.py
blob: c4a4017674c4e46b46a0b4187c39b76b4afacb70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.views.generic import TemplateView

from alphabetlearning.payments.views import EmailVerificationForm


class HomePageView(TemplateView):
    template_name = "pages/home.html"

    def get_context_data(self, **kwargs):
        kwargs.setdefault("view", self)
        form = EmailVerificationForm()
        kwargs.update({"form": form})
        return kwargs