Skip to content

Commit

Permalink
Modify settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioDelConte committed Dec 5, 2024
1 parent 6556ec8 commit e91d046
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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': {
Expand Down

0 comments on commit e91d046

Please sign in to comment.