working on client v2
Change-Id: I3ea66bd2d34b07e06de0f79aa2968ecc95ead795
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/sf_user/sessions.py b/sf_user/sessions.py
index df4ed71..a2e1136 100644
--- a/sf_user/sessions.py
+++ b/sf_user/sessions.py
@@ -14,19 +14,19 @@
# limitations under the License.
#
-from django.contrib.sessions.backends.db import SessionStore as DBStore
-import sf_user
-
-class SessionStore(DBStore):
- @classmethod
- def get_model_class(cls):
- return sf_user.models.CustomSession
-
- def create_model_instance(self, data):
- obj = super(SessionStore, self).create_model_instance(data)
- try:
- account_id = int(data.get('_auth_user_id'))
- except (ValueError, TypeError):
- account_id = None
- obj.account_id = account_id
- return obj
\ No newline at end of file
+# from django.contrib.sessions.backends.db import SessionStore as DBStore
+# import sf_user
+#
+# class SessionStore(DBStore):
+# @classmethod
+# def get_model_class(cls):
+# return sf_user.models.CustomSession
+#
+# def create_model_instance(self, data):
+# obj = super(SessionStore, self).create_model_instance(data)
+# try:
+# account_id = int(data.get('_auth_user_id'))
+# except (ValueError, TypeError):
+# account_id = None
+# obj.account_id = account_id
+# return obj
\ No newline at end of file