What are python classes?
Question: I'm trying to learn programming and came across this in my core app.

    
    
    from django.shortcuts import render
    from django.views.generic import TemplateView
    # Create your views here.
    
    class SplashView(TemplateView):
        template_name = "index.html"
    

What specifically does the above class do, in this context?


Answer: It does everything `TemplateView` does, plus has an attribute called
"template_name" with the value of "index.html".

