Re: typeshed for Django

2017-09-17 Thread Maxim Kurnikov
https://github.com/machinalis/mypy-django On Sunday, September 17, 2017 at 8:17:26 PM UTC+3, Melvyn Sopacua wrote: > > Hi, > > since recent threads about supporting python 3 type hints didn't lead > to a consensus that I saw I am wondering if anyone is working on > adding stubs to typeshed. I'v

typeshed for Django

2017-09-17 Thread Melvyn Sopacua
Hi, since recent threads about supporting python 3 type hints didn't lead to a consensus that I saw I am wondering if anyone is working on adding stubs to typeshed. I've just started on it and realize it's not something to manage on your own. The reason I'm moving ahead with this is that PyCharm

Decoupling Forms from Model

2017-09-17 Thread Jamesie Pic
Hello everybody ! Currently, it's possible to override a model field to override the formfield method. This allows to generate a default form from a model with the ModelForm. This is something that other maintainers of small django apps providing with new form fields might also have seem users str