@ydaniv asked me to catch an import error there, in case some developers
don't have the file with the social media tokens & secret keys.


On Fri, Mar 7, 2014 at 8:08 AM, Paul Walsh <notifications@github.com> wrote:

> In openbudgets/settings/__init__.py:
>
> >  )
> >
> > +SOCIAL_AUTH_PIPELINE = (
> > +     'social_auth.backends.pipeline.social.social_auth_user',
> > +     'openbudgets.apps.accounts.social_pipeline.associate_by_email', # only difference from default
> > +     'social_auth.backends.pipeline.user.get_username',
> > +     # 'social_auth.backends.pipeline.user.create_user',
> > +     'openbudgets.apps.accounts.social_pipeline.create_user',#custom pipeline
> > +     'social_auth.backends.pipeline.social.associate_user',
> > +     'social_auth.backends.pipeline.social.load_extra_data',
> > +     'social_auth.backends.pipeline.user.update_user_details'
> > +
> > + )
> > +
> > +try:
>
> I don't understand why you wrap all of these in a try/except.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/hasadna/openmuni-budgets/pull/405/files#r10374253>
> .
>