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, __HOLE__):
            account_id = None
        obj.account_id = account_id

        return obj
dataset/ETHPy150Open django/django/tests/sessions_tests/models.py/SessionStore.create_model_instance