From 0fb082a37a66cd22200098498bd3b14ff217aa6f Mon Sep 17 00:00:00 2001
From: Amy Vogel <51135243+amyvogel-dot@users.noreply.github.com>
Date: Fri, 27 Mar 2020 09:59:38 -0400
Subject: [PATCH 1/2] embed Airtable
---
blindspotapp/templates/getinfo.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/blindspotapp/templates/getinfo.html b/blindspotapp/templates/getinfo.html
index d84442f..70878aa 100644
--- a/blindspotapp/templates/getinfo.html
+++ b/blindspotapp/templates/getinfo.html
@@ -11,6 +11,8 @@
VIEW
+
+
Result Table:
@@ -290,4 +292,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
From 7aaa4ed2acea6ee5c722d492c0c250236f556661 Mon Sep 17 00:00:00 2001
From: Amy Vogel <51135243+amyvogel-dot@users.noreply.github.com>
Date: Fri, 27 Mar 2020 10:46:10 -0400
Subject: [PATCH 2/2] secure SSL redirect
---
main/settings.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/main/settings.py b/main/settings.py
index 8538efe..ddd44fc 100644
--- a/main/settings.py
+++ b/main/settings.py
@@ -29,6 +29,9 @@
ALLOWED_HOSTS = []
+SECURE_SSL_REDIRECT = True # https needed for Airtable API
+# If True, the SecurityMiddleware redirects all non-HTTPS requests to HTTPS (except for those URLs matching
+# a regular expression listed in SECURE_REDIRECT_EXEMPT).
# Application definition
@@ -130,4 +133,4 @@
STATIC_URL = '/static/'
-django_heroku.settings(locals())
\ No newline at end of file
+django_heroku.settings(locals())