Changes between Initial Version and Version 1 of Ticket #26253


Ignore:
Timestamp:
Feb 22, 2016, 6:40:00 AM (8 years ago)
Author:
Tim Graham
Comment:

Can you provide code to reproduce the issue? I'm not entirely clear on it based on the description. Is the issue relevant on master or only in 1.9 that has the deprecation path? If only 1.9, the problem may not be severe enough to warrant being patched there.

I edited the description to change BaseTemplateResponse to SimpleTemplateResponse since there's no class in Django with the former name. Please edit again if it should be something else.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26253

    • Property Summary TemplateResponse and BasicTemplateResponse: error message causes TypeErrorTemplateResponse and SimpleTemplateResponse: error message causes TypeError
  • Ticket #26253 – Description

    initial v1  
    1 When TemplateResponse or BasicTemplateResponse are called, a TypeError is thrown.
     1When `TemplateResponse` or `SimpleTemplateResponse` are called, a TypeError is thrown.
    22
    3 This is because their __init__() creates a BackendTemplate giving only one argument to the constructor.
     3This is because their `__init__() creates a `BackendTemplate` giving only one argument to the constructor.
    44
    55The resulting error is obviously confusing and obfuscates the warning.
Back to Top