Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unfoldingWord-dev/translationDatabaseWeb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c305736ef7f16daaed374c31310dbbb843243d3c
Choose a base ref
..
head repository: unfoldingWord-dev/translationDatabaseWeb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: de6543ced02b0f3dd0ed9476262e82173b93bd48
Choose a head ref
Showing with 12 additions and 1 deletion.
  1. +1 −0 requirements.txt
  2. +1 −1 runtime.txt
  3. +10 −0 td/settings.py
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ django-appconf==1.0.1
django-bootstrap-form==3.2
django-celery==3.3.1
django-contrib-comments==1.7.1
django-cors-headers==2.4.1
django-model-utils==2.4
django-multiupload==0.5
django-redis-cache==1.6.5
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-2.7.15
python-2.7.17
10 changes: 10 additions & 0 deletions td/settings.py
Original file line number Diff line number Diff line change
@@ -81,6 +81,7 @@
SECRET_KEY = os.environ.get("SECRET_KEY", "notasecret")

MIDDLEWARE_CLASSES = [
"corsheaders.middleware.CorsMiddleware",
"reversion.middleware.RevisionMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
@@ -149,6 +150,7 @@
"rest_framework",
"django_comments",
"taggit",
"corsheaders",

# project
"td",
@@ -268,6 +270,14 @@
}
]

# Added RJH Mar2020 for django-cors-headers package
# NOTE: We are using django-cors-headers 2.4.1 to be compatible with Django 1.9
# and it doesn't specify the URI scheme (https://) in the whitelist.
CORS_ORIGIN_WHITELIST = [
"door43.org",
"dev.door43.org",
]


import sentry_sdk
from sentry_sdk.integrations.celery import CeleryIntegration