aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/model.py
diff options
context:
space:
mode:
authorZachary Sloan2014-02-27 00:01:11 +0000
committerZachary Sloan2014-02-27 00:01:11 +0000
commitdd6e828ca3b205fefcae833aec53139961f9575f (patch)
treecedc3363c8003b25a8407502d4e5efaf6ccae48e /wqflask/wqflask/model.py
parentb1fd0e00050ef7ba95fd077fb78773265629fb1b (diff)
downloadgenenetwork2-dd6e828ca3b205fefcae833aec53139961f9575f.tar.gz
Began working on a TraitCollection.py file that will contain both the
object for logged in user collections and collections created by anonymous users.
Diffstat (limited to 'wqflask/wqflask/model.py')
-rw-r--r--wqflask/wqflask/model.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/model.py b/wqflask/wqflask/model.py
index 71bda550..fa8c1aab 100644
--- a/wqflask/wqflask/model.py
+++ b/wqflask/wqflask/model.py
@@ -189,3 +189,9 @@ def display_collapsible(number):
return number
else:
return ""
+
+
+def user_uuid():
+ """Unique cookie for a user"""
+ user_uuid = request.cookies.get('user_uuid')
+ \ No newline at end of file