Changes between Initial Version and Version 1 of Ticket #35960


Ignore:
Timestamp:
Dec 1, 2024, 10:12:23 AM (16 hours ago)
Author:
Bartosz Sławecki
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35960 – Description

    initial v1  
    5555...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.
    5656
    57 I flicked through the codebase @ the main branch and found a surprisingly large amount of breakpoints that could be improved with chained exceptions.
     57I 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).
    5858
    5959I 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.
Back to Top