Re: Enforcing a max size for form field values read into memory (review/determination of next steps needed)

2016-04-20 Thread Cristiano Coelho
Hi, In particular I'm interested in this new setting: DATA_UPLOAD_MAX_MEMORY_SIZE [1] that only seems to be checked against mutlparts [2] and url encoded[3] request bodies. It could be good that this setting is also checked against other types where request.body is read directly, as you can

Re: typeshed stubs for mypy

2016-04-20 Thread Tim Graham
My understanding is that adding type annotations must wait until we drop support for Python 2 which will happen after we cut the stable/1.11.x branch in January 2017. On Wednesday, April 20, 2016 at 7:28:25 PM UTC-4, Pradip Caulagi wrote: > > Hello, > > Is there any plans to add type

typeshed stubs for mypy

2016-04-20 Thread Pradip Caulagi
Hello, Is there any plans to add type annotations to Django itself? Or to provide typeshed stubs so that we can run mypy on django projects? Thanks, Pradip -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: Making Django more PaaS-friendly

2016-04-20 Thread andrew
We deploy django use AWS Elastic Beanstalk and use credstash for secrets: https://github.com/fugue/credstash So we can just do PASSWORD = credstash.getSecret('password') which works pretty well with the AWS Key Management Service. What is a pain is that the AWS Health Check does not set the

SubQuery without using RawSQL

2016-04-20 Thread schinckel
I started some work late last night on attempting to replace some RawSQL() calls that do a sub query with a new Expression. It actually worked! Even in the cold light of day, it doesn't seem _too_ bad, so after working on it a bit today with jarshwah, I decided to stick up a WIP PR.