summaryrefslogtreecommitdiff
path: root/website/query.py
diff options
context:
space:
mode:
authorprashantsinalkar2019-09-24 16:33:59 +0530
committerprashantsinalkar2019-09-24 16:33:59 +0530
commit57a530976f576cf9b3493b9994e46242ae39b4b9 (patch)
tree3ae39634d83cd1d80773735970fd0bec08ad85e5 /website/query.py
parentaf9bfbb8e3b1f08e0df80402cf69d40ff5baf7b4 (diff)
downloadR_on_Cloud_Web_Interface-57a530976f576cf9b3493b9994e46242ae39b4b9.tar.gz
R_on_Cloud_Web_Interface-57a530976f576cf9b3493b9994e46242ae39b4b9.tar.bz2
R_on_Cloud_Web_Interface-57a530976f576cf9b3493b9994e46242ae39b4b9.zip
updated code for flask api
Diffstat (limited to 'website/query.py')
-rw-r--r--website/query.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/website/query.py b/website/query.py
index 06e37a7..23f4cea 100644
--- a/website/query.py
+++ b/website/query.py
@@ -48,13 +48,6 @@ GET_TBC_EXAMPLE_FILE_SQL = """
WHERE tcef.filetype = 'S' AND tcef.example_id = %s
"""
-
-# GET_TBC_EXAMPLE_FILE_VIEW_SQL = """
-# SELECT id, views_count FROM textbook_companion_example_views
-# WHERE example_id = %s
-# """
-
-
GET_TBC_CONTRIBUTOR_DETAILS_SQL = """
SELECT preference.id,
proposal.full_name as proposal_full_name,