This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +35
-53
lines changed Expand file tree Collapse file tree 5 files changed +35
-53
lines changed Original file line number Diff line number Diff line change 13
13
import os
14
14
15
15
import redis
16
- from corsheaders .defaults import default_headers
17
16
18
17
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
19
18
BASE_DIR = os .path .dirname (
32
31
33
32
ALLOWED_HOSTS = ["*" ]
34
33
35
- CORS_ORIGIN_ALLOW_ALL = True
36
-
37
- CORS_ALLOW_HEADERS = default_headers + (
38
- "access-control-allow-headers" ,
39
- "access-control-allow-methods" ,
40
- "access-control-allow-origin" ,
41
- )
42
34
43
35
# Application definition
44
36
Original file line number Diff line number Diff line change 1
1
from .base import * # noqa
2
2
3
+ ALLOWED_HOSTS = [os .environ .get ("FULL_DOMAIN_NAME" )] # noqa
4
+
3
5
# Email
4
6
5
7
EMAIL_USE_TLS = True
44
46
45
47
# Celery
46
48
47
- CELERY_BROKER_URL = "sqs://" # f"redis://{REDIS_SERVICE_HOST}:6379/0" # noqa
48
- CELERY_BROKER_TRANSPORT_OPTIONS = {'region' : 'us-east-1' }
49
+ CELERY_BROKER_URL = f"redis://{ REDIS_SERVICE_HOST } :6379/0" # noqa
49
50
CELERY_RESULT_BACKEND = f"redis://{ REDIS_SERVICE_HOST } :6379/0" # noqa
Original file line number Diff line number Diff line change 1
- boto3==1.9.130
1
+ boto3==1.13.16
2
2
3
- celery==4.3.0
4
- celery[sqs] ==4.3.0
3
+ celery==4.4.2
4
+ kombu ==4.6.8
5
5
6
- channels==2.2 .0
7
- channels-redis==2.4.0
6
+ channels==2.4 .0
7
+ channels-redis==2.4.2
8
8
9
- daphne==2.3 .0
9
+ daphne==2.5 .0
10
10
11
- graphene-django==2.8 .1
12
- django-graphql-jwt==0.3.0
11
+ graphene-django==2.10 .1
12
+ django-graphql-jwt==0.3.1
13
13
14
- Django==2.2
15
- django-cors-headers==2.5.2
16
- django-filter==2.1.0
17
- djangorestframework==3.9.2
18
- djangorestframework_simplejwt==4.3.0
19
- django-shortcuts==1.6
20
- django-debug-toolbar==1.11
14
+ Django==3.0.6
15
+ django-filter==2.2.0
16
+ djangorestframework==3.11.0
17
+ djangorestframework_simplejwt==4.4.0
18
+ django-debug-toolbar==2.2
21
19
22
20
23
21
# Python Social Auth
24
22
25
23
social-auth-app-django==3.1.0
26
- social-auth-core==3.2.0
24
+ social-auth-core==3.3.3
27
25
28
26
# Django page caching is not working with this version of Redis
29
27
# but this version is required by Celery
30
- django-redis==4.10 .0
28
+ django-redis==4.11 .0
31
29
32
- django-storages==1.7.1
33
- django-constance==2.4.0 # for managing settings in admin
30
+ django-storages==1.9.1
34
31
35
32
# TODO: figure out why pandas is taking a long time to download
33
+ # in cdk deploy step
36
34
# pandas==0.24.2
37
- # pandas_flavor==0.1.2
38
- # pyjanitor==0.16.6
39
35
40
- xlrd==1.2.0 # required by pandas for Excel support
41
- XlsxWriter==1.1.6 # used by the excel recon tool
42
- django-postgres-copy==2.4.0
43
- django-safedelete==0.5.1
36
+ gunicorn==20.0.4
44
37
45
- gunicorn==19.9.0
38
+ psycopg2-binary==2.8.5
46
39
47
- psycopg2-binary==2.8 .2
40
+ redis==3.5 .2
48
41
49
- redis==3.2.1
50
-
51
- requests==2.21.0
42
+ requests==2.23.0
Original file line number Diff line number Diff line change 1
1
better_exceptions==0.2.2
2
- pyupio==1.0.2
3
- django-extensions==2.1.6 # NOTE: in installed_apps
4
- Werkzeug==0.15.2 # used for runserver_plus exception console
5
- ipython==7.4.0
2
+ django-extensions==2.2.9 # NOTE: in installed_apps
3
+ Werkzeug==1.0.1 # used for runserver_plus exception console
4
+ ipython==7.14.0
6
5
jupyter==1.0.0
7
- gql==0.3 .0
6
+ gql==2.0 .0
Original file line number Diff line number Diff line change 1
1
black==19.10b0
2
- pytest==4.4.1
3
- pytest-cov==2.6.1
4
- pytest-django==3.4.8
5
- factory_boy==2.11.1
6
- flake8==3.7.7
7
- flake8-isort==2.7.0
8
- coverage==4.5.3
9
- moto==1.3.7
2
+ pytest==5.4.2
3
+ pytest-cov==2.8.1
4
+ pytest-django==3.9.0
5
+ factory_boy==2.12.0
6
+ flake8==3.8.1
7
+ flake8-isort==3.0.0
8
+ coverage==5.1
You can’t perform that action at this time.
0 commit comments