Re: PEP 484 type hinting in Django

2018-12-02 Thread Maxim Kurnikov
I'm working on stubs / mypy plugin for Django here https://github.com/mkurnikov/django-stubs I'm going to release an alpha version sometime around New Year's. I've integrated machinalis version of stubs. There's also generated stubs from Monkeytype execution over the django testsuite in the repos

Re: TestCase.setUpTestData in-memory data isolation.

2018-12-02 Thread Tobias McNulty
On Fri, Nov 30, 2018, 1:03 PM Adam Johnson Tobias - using database updates isn't always viable. Also the system under > test might need to take in the model instance, mutate it and execute its > own save(), and then there's no way of rolling that back if the object > wasn't deepcopy'd > Fair enou