Handle all cases in which __get_scalar calls returns None
The following discussion from !12 (merged) should be addressed:
-
@crdeoliv started a discussion: (+4 comments) if we don't find the user will get_scalar throw an error?
Similarly to how it was handled in the case of get_user_preferences
raise exceptions if db queries return None
Edited by Dimitra Chatzichrysou