summaryrefslogtreecommitdiff
path: root/R_on_Cloud
diff options
context:
space:
mode:
authorprashantsinalkar2019-07-03 17:54:06 +0530
committerprashantsinalkar2019-07-03 17:54:06 +0530
commit2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f (patch)
tree0cb13a1a7b87a7037cd3485d666a30e059b28a9c /R_on_Cloud
parent3e9b2c2a0eae3a614a3ea3e3ac8670f380cba04e (diff)
downloadR_on_Cloud_Web_Interface-2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f.tar.gz
R_on_Cloud_Web_Interface-2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f.tar.bz2
R_on_Cloud_Web_Interface-2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f.zip
added sessions for browser
Diffstat (limited to 'R_on_Cloud')
-rw-r--r--R_on_Cloud/default_config.py2
-rw-r--r--R_on_Cloud/settings.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/R_on_Cloud/default_config.py b/R_on_Cloud/default_config.py
index 69eaec5..7b56723 100644
--- a/R_on_Cloud/default_config.py
+++ b/R_on_Cloud/default_config.py
@@ -9,6 +9,8 @@ DB_PORT_DEFAULT = ''
BIN = '/usr/bin/R'
+API_URL = "http://127.0.0.1:8001/rscript"
+
SECRET_KEY_STRING = SECRET_KEY
# request_count keeps track of the number of requests at hand, it is incremented
diff --git a/R_on_Cloud/settings.py b/R_on_Cloud/settings.py
index b8babda..f245582 100644
--- a/R_on_Cloud/settings.py
+++ b/R_on_Cloud/settings.py
@@ -134,3 +134,5 @@ STATICFILES_DIRS = [
'/../static/',
]
+
+SESSION_EXPIRE_AT_BROWSER_CLOSE = True