Changes between Version 3 and Version 4 of Ticket #28943, comment 16


Ignore:
Timestamp:
Mar 6, 2018, 4:42:19 PM (7 years ago)
Author:
James Pic

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28943, comment 16

    v3 v4  
     1Perdon my french, i sometimes forget internet is serious business.
     2
     3So, i believe that templateview should have a template_context_response() method to encapsulate the business between template and context, ie. when not using get_context_data as validated in #16744 opened by Reinout Van Rees (the Django teacher, met at djangocon cardiff we shared AFPY's airbnb hehe) seven year ago participated to the CBV revolution with a lot of hackers i have always admired for the beauty of their code (perdon my french), I credit the visionarism of this movement, Marc Tamlyn, commiter of 58683e9c82d, from  and the participants of ticket #167433 who maintained their patch Claude Paroz Andrew Godwin and look what i just found :
     4
     5> I'm going to have to re-write part of my introductory views-and-templates chapter, as class based views look silly without this patch in
     6
     7I'm sorry for not having the classy class of my friend Reinout, the famous django philosopher.
     8
    19>  Unless I missed something, super().get() will call the TemplateView implementation, even if you override get() in a subclass.
    210
Back to Top