Changes between Initial Version and Version 1 of Ticket #24960, comment 6
- Timestamp:
- Jun 16, 2015, 6:19:01 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24960, comment 6
initial v1 3 3 We used Django 1.6. We upgraded to Django 1.8 and it seems as if the error is returned properly now. 4 4 5 We looked into the corresponding Django source code and found that Django catches more errors as before and re-raises them. That approach seems a bit error especially when using custom exceptions.5 We looked into the corresponding Django source code and found that Django catches more errors as before and re-raises them. That approach seems a bit error-prone especially when using custom exceptions. 6 6 7 Don't you think that a check whether a context variable is callab ed/has attribute/has dictionary key should be handled not by trail anderror but by a check-before-do?7 Don't you think that a check whether a context variable is callable/has attribute/has dictionary key should be handled not by trial-and-error but by a check-before-do?