dddp/accounts/ddp.py
def user_factory(self):
        """Retrieve the current user (or None) from the database."""
        if this.user_id is None:
            return None
        return self.user_model.objects.get(pk=this.user_id)
def user_factory(self):
        """Retrieve the current user (or None) from the database."""
        if this.user_id is None:
            return None
        return self.user_model.objects.get(pk=this.user_id)
def user_factory ( self ) : if this . user_id is None : return None return self . user_model . objects . get ( pk = this . user_id )
Retrieve the current user (or None) from the database.
Retrieve the current user ( or None ) from the database .