"""Views for the general application."""

from django.views.generic import TemplateView
from django.http import HttpResponse


class GeneralIndexView(TemplateView):
    """View for the homepage that renders from a template."""

    template_name = "general/index.html"


class GeneralAboutView(TemplateView):
    """View for the about page that renders from a template."""

    template_name = "general/about.html"


class GeneralContactView(TemplateView):
    """View for the contact page that renders from a template."""

    template_name = "general/contact.html"


class GeneralPeopleView(TemplateView):
    """View for the people page that renders from a template."""

    template_name = "general/people.html"


class GeneralPrinciplesView(TemplateView):
    """View for the princples page that renders from a template."""

    template_name = "general/principles.html"


class WhatIsCSView(TemplateView):
    """View for the Computational Thinking page that renders from a template."""

    template_name = "general/what-is-computer-science.html"


class ComputationalThinkingView(TemplateView):
    """View for the Computational Thinking page that renders from a template."""

    template_name = "general/computational-thinking.html"


class HowDoITeachCSUnpluggedView(TemplateView):
    """View for the Computational Thinking page that renders from a template."""

    template_name = "general/how-do-i-teach-cs-unplugged.html"


def health_check(request):
    """Return heath check response for Google App Engine.

    Returns a 200 HTTP response for Google App Engine to detect the system
    is running.
    """
    return HttpResponse(status=200)

"""Views for the general application."""

from django.views.generic import TemplateView
from django.http import HttpResponse


class GeneralIndexView(TemplateView):
    """View for the homepage that renders from a template."""

    template_name = "general/index.html"


class GeneralAboutView(TemplateView):
    """View for the about page that renders from a template."""

    template_name = "general/about.html"


class GeneralContactView(TemplateView):
    """View for the contact page that renders from a template."""

    template_name = "general/contact.html"


class GeneralPeopleView(TemplateView):
    """View for the people page that renders from a template."""

    template_name = "general/people.html"


class GeneralPrinciplesView(TemplateView):
    """View for the princples page that renders from a template."""

    template_name = "general/principles.html"


class WhatIsCSView(TemplateView):
    """View for the 'What is Computer Science?' page that renders from a template."""

    template_name = "general/what-is-computer-science.html"


class ComputationalThinkingView(TemplateView):
    """View for the Computational Thinking page that renders from a template."""

    template_name = "general/computational-thinking.html"


class HowDoITeachCSUnpluggedView(TemplateView):
    """View for the 'How do I teach CS Unplugged?' page that renders from a template."""

    template_name = "general/how-do-i-teach-cs-unplugged.html"


def health_check(request):
    """Return heath check response for Google App Engine.

    Returns a 200 HTTP response for Google App Engine to detect the system
    is running.
    """
    return HttpResponse(status=200)

Fix docstrings