1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Why use get_context_data (self,**kwargs) and super ()

Discussão em 'Python' iniciado por Stack, Setembro 11, 2025.

  1. Stack

    Stack Membro Participativo

    In a class-based view, I simply use get_context_data as a function but why

    class CBV (TemplateView):

    def get_context_data(self,**kwargs):
    context = super ().get_context_data (**kwargs)

    Continue reading...

Compartilhe esta Página