Changes between Initial Version and Version 1 of Ticket #28331


Ignore:
Timestamp:
Jun 21, 2017, 7:02:32 PM (7 years ago)
Author:
Jeremy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28331 – Description

    initial v1  
    1515
    1616}}}
    17 You can find them across the web, across StackOverflow, etc.  Everyone has to make this one stupid class just so that they can pass an extra context to template-only views.
     17You can find them across the web, across StackOverflow, etc.  Everyone has to remake this one small class just so that they can pass an extra context to template-only views.
    1818
    1919This is counter-productive: the whole point of a framework is to *prevent* everyone from having to re-invent the same code.  Adding yet another re-implementation of StaticPageView does nothing to improve the code, it only clutters it up with boilerplate.
    2020
    21 Please fix this by allowing as_view to take an extra_context arg
     21Please fix this by allowing as_view (ideally in all generic views) to take an extra_context arg.
Back to Top