@must_be_logged_in
def user_notifications(auth, **kwargs):
 return {'mailing_lists': dict((auth.user.mailchimp_mailing_lists.items() + auth.user.osf_mailing_lists.items()))}

@ must_be_logged_in def user_notifications ( auth , ** kwargs ) : return { 'mailing_lists' : dict ( ( auth . user . mailchimp_mailing_lists . items ( ) + auth . user . osf_mailing_lists . items ( ) ) ) }
get subscribe data from user .