News for hackers. Stuff that matters.
Re:Django 3 by silviogutierrez on Monday December 02, 2019 @10:11AM (#21682997)
Painful at first, but well worth it. You can ignore all existing code and only use it going forward.

django-stubs is black magic and helps a lot.

Here's an example setup that I use for my library:

https://github.com/silviogutierrez/reactivated/

the "sample" site is 100% type checked. Look at scripts/test.sh for running mypy in ci (and .github for the CI config)

There are no comments on this comment yet.