diff options
author | prashantsinalkar | 2019-07-03 17:54:06 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-07-03 17:54:06 +0530 |
commit | 2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f (patch) | |
tree | 0cb13a1a7b87a7037cd3485d666a30e059b28a9c /R_on_Cloud | |
parent | 3e9b2c2a0eae3a614a3ea3e3ac8670f380cba04e (diff) | |
download | R_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.py | 2 | ||||
-rw-r--r-- | R_on_Cloud/settings.py | 2 |
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 |