Changes between Initial Version and Version 1 of Ticket #32508, comment 23
- Timestamp:
- Jun 2, 2021, 10:17:20 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32508, comment 23
initial v1 4 4 Thanks for your interest. Daniyal handled the bulk of what was left here in [https://github.com/django/django/pull/14173 PR 14173], so if you want to tackle the rest, be sure to skip the django.db module, which was the focus of that PR. 5 5 6 Toward getting started, this is a great time to learn about grep, e.g. `grep 'assert\s' django/* -r`. Here's what's left excluding django.db and the test suite itself: 6 Toward getting started, this is a great time to learn about grep, e.g. `grep 'assert\s' django/* -r`. Below is what's left excluding django.db and the test suite itself. 7 8 The work to finish this off is to decide which ones remaining are worth changing given comments above from Tim and Chris. I suspect not many. The last one in the list could be; it's potentially user-facing and already has a nice exception message, so we can just change to `TypeError`. The ones in contrib.auth.hashers look like sanity checks we don't need to touch. 7 9 8 10 {{{ … … 39 41 django/views/decorators/debug.py: assert isinstance(request, HttpRequest), ( 40 42 }}} 41 42 The work to finish this off is to decide which ones remaining are worth changing given comments above from Tim and Chris. I suspect not many. The last one in the list could be; it's potentially user-facing and already has a nice exception message, so we can just change to `TypeError`. The ones in contrib.auth.hashers look like sanity checks we don't need to touch.