def init_app(self, app):
    'Flask application initialization.'
    self.init_config(app)
    app.context_processor((lambda : dict(current_userprofile=current_userprofile)))
    app.extensions['invenio-userprofiles'] = self
Flask application initialization.
def init_app(self, app):
    
    self.init_config(app)
    app.context_processor((lambda : dict(current_userprofile=current_userprofile)))
    app.extensions['invenio-userprofiles'] = self