#32033: No longer able to override DATA_UPLOAD_MAX_MEMORY_SIZE outside of
settings.py
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  drewscholz                         |
                   Type:  Bug        |         Status:  new
              Component:  File       |        Version:  2.0
  uploads/storage                    |       Keywords:
               Severity:  Normal     |  DATA_UPLOAD_MAX_MEMORY_SIZE,
           Triage Stage:             |  override, settings
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 After upgrading our Django **1.11** project from Python 2.7 to 3.7, our
 single endpoint decorator to override django conf settings no longer
 works. requests.py inside the virtual environment /lib/python3.7/site-
 packages/django/http triggers the RequestDataTooBig exception (~line 271)
 before the change to DATA_UPLOAD_MAX_MEMORY_SIZE has been increased by our
 decorator. We are able to make the change global inside settings.py
 however we are concerned with the security vulnerabilities due to the size
 we want to allow for the single endpoint.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32033>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.340cdba45a415014c900c0f103461f35%40djangoproject.com.

Reply via email to