diff --git a/server/settings.py b/server/settings.py index 09a342c..b15fbac 100644 --- a/server/settings.py +++ b/server/settings.py @@ -43,6 +43,8 @@ def load_env(environ): PARAMS_VALUES_MAX_LENGTH = env.int('PARAMS_VALUES_MAX_LENGTH', 5000) # Maximum number of items for a paginated response MAX_PAGE_SIZE = env.int('MAX_PAGE_SIZE', 100) +# Maximum number of fields for a request +DATA_UPLOAD_MAX_NUMBER_FIELDS = 102400 CORS_ORIGIN_ALLOW_ALL = env.bool('CORS_ORIGIN_ALLOW_ALL', default=True) @@ -222,12 +224,12 @@ def load_env(environ): 'loggers': { 'drmaatic_lib': { 'handlers': ['file', 'console'], - 'level': 'DEBUG' if DEBUG else 'INFO', + 'level': 'DEBUG' if DEBUG else 'WARNING', 'propagate': True, }, 'drmaatic': { 'handlers': ['file', 'console'], - 'level': 'DEBUG' if DEBUG else 'INFO', + 'level': 'DEBUG' if DEBUG else 'WARNING', 'propagate': True, }, 'django': {