Commit 0088babc authored by Serial Lab's avatar Serial Lab
Browse files

added ability to change upload size in .env file

parent e831b34e
Pipeline #260824430 passed with stage
in 7 minutes and 3 seconds
......@@ -169,8 +169,8 @@ if env.bool('DJANGO_ENABLE_ADMIN', True):
logging.info('Default database host: %s', database_host)
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
DATA_UPLOAD_MAX_MEMORY_SIZE = 104857600
FILE_UPLOAD_MAX_MEMORY_SIZE = 104857600
DATA_UPLOAD_MAX_MEMORY_SIZE = env.int('MAX_UPLOAD_SIZE', 104857600)
FILE_UPLOAD_MAX_MEMORY_SIZE = env.int('MAX_UPLOAD_SIZE', 104857600)
try:
from config.settings.local_settings import *
......
......@@ -5,14 +5,15 @@
# pip-compile --output-file=../requirements.txt production.in
#
-e git+git://github.com/rmagee/django-rest-framework-xml.git#egg=djangorestframework-xml # via -r base.in, serialbox
aiocontextvars==0.2.2 # via -r production.in
amqp==5.0.2 # via kombu
argon2-cffi==20.1.0 # via -r base.in
asgiref==3.3.1 # via django
awesome-slugify==1.6.5 # via -r base.in
bcrypt==3.2.0 # via paramiko
billiard==3.6.3.0 # via celery
boto3==1.16.24 # via -r production.in
botocore==1.19.24 # via boto3, s3transfer
boto3==1.16.26 # via -r production.in
botocore==1.19.26 # via boto3, s3transfer
celery==5.0.2 # via -r base.in, flower
certifi==2020.11.8 # via elastic-apm, requests, sentry-sdk
cffi==1.14.4 # via argon2-cffi, bcrypt, cryptography, pynacl
......@@ -27,18 +28,18 @@ coreschema==0.0.4 # via coreapi, drf-yasg
cryptography==3.2.1 # via paramiko, pyjwt
decorator==4.4.2 # via serialbox
defusedxml==0.6.0 # via djangorestframework-xml, python3-openid
django-allauth==0.43.0 # via -r base.in
django-allauth==0.44.0 # via -r base.in
django-anymail==8.1 # via -r production.in
django-cors-headers==3.5.0 # via -r base.in
django-environ==0.4.5 # via -r base.in
django-extensions==3.0.9 # via -r base.in
django-extensions==3.1.0 # via -r base.in
django-filter==2.4.0 # via -r base.in
django-model-utils==4.0.0 # via -r base.in, quartet-epcis, quartet-trail
django-model-utils==4.1.0 # via -r base.in, quartet-epcis, quartet-trail
django-rest-auth==0.9.5 # via -r base.in
django-rest-swagger==2.2.0 # via -r base.in
django-simple-history==2.12.0 # via -r base.in
django-storages==1.10.1 # via -r production.in, collectfast
django==3.1.3 # via -r base.in, collectfast, django-allauth, django-anymail, django-cors-headers, django-filter, django-model-utils, django-rest-auth, django-storages, djangorestframework, drf-yasg, serialbox
django==3.1.4 # via -r base.in, collectfast, django-allauth, django-anymail, django-cors-headers, django-filter, django-model-utils, django-rest-auth, django-storages, djangorestframework, drf-yasg, serialbox
djangorestframework-csv==2.1.0 # via serialbox
djangorestframework==3.12.2 # via -r base.in, django-rest-auth, django-rest-swagger, djangorestframework-csv, drf-yasg, serialbox
docutils==0.16 # via serialbox
......@@ -47,7 +48,7 @@ elastic-apm==5.10.0 # via -r production.in
eparsecis==3.1.0 # via -r serial-lab.in, quartet-epcis
epcpyyes==2.0.5 # via -r serial-lab.in, eparsecis, quartet-epcis
factory-boy==3.1.0 # via -r base.in
faker==4.17.1 # via factory-boy
faker==4.18.0 # via factory-boy
flower==0.9.5 # via -r base.in
gevent==20.9.0 # via -r production.in
greenlet==0.4.17 # via gevent
......@@ -63,12 +64,12 @@ jinja2==2.11.2 # via coreschema, epcpyyes
jmespath==0.10.0 # via boto3, botocore
kombu==5.0.2 # via celery
list-based-flavorpack==3.2.2 # via -r serial-lab.in
lxml==4.6.1 # via -r base.in, eparsecis, epcpyyes
lxml==4.6.2 # via -r base.in, eparsecis, epcpyyes
markdown==3.3.3 # via -r base.in, serialbox
markupsafe==1.1.1 # via jinja2
oauthlib==3.1.0 # via requests-oauthlib
openapi-codec==1.3.2 # via django-rest-swagger
packaging==20.4 # via drf-yasg
packaging==20.7 # via drf-yasg
paramiko==2.7.2 # via -r base.in
prometheus-client==0.8.0 # via flower
prompt-toolkit==3.0.8 # via click-repl
......@@ -85,7 +86,7 @@ quartet-epcis==3.0.2 # via -r serial-lab.in
quartet-integrations==7.0.2 # via -r serial-lab.in
quartet-manifest==1.0.5 # via -r serial-lab.in
quartet-masterdata==2.2.5 # via -r serial-lab.in
quartet-output==3.1.5 # via -r serial-lab.in
quartet-output==3.1.6 # via -r serial-lab.in
quartet-templates==2.0.0 # via -r serial-lab.in
quartet-trail==2.0.3 # via -r serial-lab.in
random-flavorpack==2.0.1 # via -r serial-lab.in
......@@ -99,7 +100,7 @@ s3transfer==0.3.3 # via boto3
sentry-sdk==0.19.4 # via -r production.in
serialbox==2.3.2 # via -r serial-lab.in
simplejson==3.17.2 # via django-rest-swagger
six==1.15.0 # via argon2-cffi, bcrypt, click-repl, cryptography, django-rest-auth, django-simple-history, djangorestframework-csv, packaging, pynacl, python-dateutil, serialbox
six==1.15.0 # via argon2-cffi, bcrypt, click-repl, cryptography, django-rest-auth, django-simple-history, djangorestframework-csv, pynacl, python-dateutil, serialbox
sqlparse==0.4.1 # via django
text-unidecode==1.3 # via faker
tornado==5.1.1 # via -r base.in, flower
......@@ -110,7 +111,7 @@ uritemplate==3.0.1 # via coreapi, drf-yasg
urllib3==1.26.2 # via botocore, elastic-apm, requests, sentry-sdk
vine==5.0.0 # via amqp, celery
wcwidth==0.2.5 # via prompt-toolkit
wheel==0.35.1 # via -r base.in
wheel==0.36.0 # via -r base.in
zipp==3.4.0 # via importlib-metadata
zope.event==4.5.0 # via gevent
zope.interface==5.2.0 # via gevent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment