What are python classes? -


i'm trying learn programming , came across in core app.

from django.shortcuts import render django.views.generic import templateview # create views here.  class splashview(templateview):     template_name = "index.html" 

what above class do, in context?

it templateview does, plus has attribute called "template_name" value of "index.html".


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -