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


Ignore:
Timestamp:
Mar 6, 2018, 2:58:50 PM (7 years ago)
Author:
James Pic

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28943, comment 16

    v2 v3  
    99Maybe what I'm saying doesn't make any sense to anybody than myself lol but at least you can point-godwin me because i don't consider the resolution of this ticket worksforme, but don't take it personnaly, you know i still admire you from the deepest of my heart Tim <3
    1010
     11But deep in your heart, you know that love between a context and a template must not be coupled to the get method's callback in TemplateView but should indeed be in its own method ending with:
     12
     13    class TemplateView..:
     14        def get..:
     15            return self.template_context_love()
     16
     17Then you can:
     18
     19     def post..:
     20         love()
     21         return self.template_context_love()
     22
     23Instead of
     24
     25    def post..:
     26         return self.get() # but i just want template_context love not all my parent get logic :'(
     27
    1128With LOVE
    1229
Back to Top