kobotoolbox / kobocat

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.
BSD 2-Clause "Simplified" License
117 stars 126 forks source link

Configure DEFAULT_CONTENT_LENGTH via environment variable #435

Open jnm opened 6 years ago

jnm commented 6 years ago

It should be possible to set DEFAULT_CONTENT_LENGTH in the environment and have kc_environ.py apply the setting. Currently, it comes from common.py https://github.com/kobotoolbox/kobocat/blob/7448f30b29e9e72ccc2071cadddce15de8abb035/onadata/settings/common.py#L444-L445

mattlangeman commented 4 years ago

Is this still a feature of interest? I'm thinking of giving it a try.