Explorar o código

[importer] increasing the value of DATA_UPLOAD_MAX_MEMORY_SIZE to 5MB as sometime request size > 2.5MB (default value) (#2966)

Ayush Goyal %!s(int64=3) %!d(string=hai) anos
pai
achega
14801e7ae2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      desktop/core/src/desktop/settings.py

+ 1 - 0
desktop/core/src/desktop/settings.py

@@ -117,6 +117,7 @@ USE_TZ = False
 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
 MEDIA_URL = ''
 
+DATA_UPLOAD_MAX_MEMORY_SIZE = 5242880  # Setting this variable to 5MB as sometime request size > 2.5MB (default value)
 
 ############################################################
 # Part 3: Django configuration