Changes between Initial Version and Version 1 of Ticket #35960
- Timestamp:
- Dec 1, 2024, 10:12:23 AM (16 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35960 – Description
initial v1 55 55 ...where we instead read that the `ModuleNotFoundError: No module named 'psycopg2'` exception was the reason we got the `ImproperlyConfigured` exception. I used exception chaining https://docs.python.org/3/tutorial/errors.html#exception-chaining for this demonstration. 56 56 57 I flicked through the codebase @ the main branch and found a surprisingly large amount of breakpoints that could be improved with chained exceptions .57 I flicked through the codebase @ the main branch and found a surprisingly large amount of breakpoints that could be improved with chained exceptions (including the one above). 58 58 59 59 I offer to create a series of PRs that will close this ticket. I want to distribute the work needed to add this improvement and make one PR per every Django component to ensure that each of these PRs is carefully reviewed and confirmed by the right people who specialize in certain areas and can easily decide where a reason could be hidden or not.