Opened 9 years ago
Last modified 9 years ago
#26253 closed Bug
TemplateResponse and BasicTemplateResponse: error message causes TypeError — at Initial Version
Description ¶
When TemplateResponse or BasicTemplateResponse are called, a TypeError is thrown.
This is because their init() creates a BackendTemplate giving only one argument to the constructor.
The resulting error is obviously confusing and obfuscates the warning.
The attached patch addresses the issue, although I am unsure whether one should assume, by default, that a DjangoTemplate was given.
Note:
See TracTickets
for help on using tickets.