On Mon, Apr 8, 2013 at 12:11 PM, Hooman <hou...@gmail.com> wrote:Hi guys,Hi;SOCIAL_AUTH_PIPELINE = (...'project_app.utils.facebook_save', )You wrote "utils"Inside project_app I created a file called util.py and inserted the facebook_save method. But the path inside SOCIAL_AUTH_PIPELINE, doesnt work at all.But the name of the file is util.pyWhat am I missing please?just a letter: "s" :) Regards.
Hooman
Korasani, CTO
www.watchfit.com
![]()
WatchFit | 35
Kingsland Road | London E2 8AA
Mobile: 44 (0) 7787 454077
Hi,
Thank you for your reply. Sorry I have made a mistake in the email.
I can confirm that both the file is utils.py and the path in SOCIAL_AUTH_PIPELINE is also utils.
Am I not missing anything else? :(
twitter: https://twitter.com/serdaroncode --
You received this message because you are subscribed to a topic in the Google Groups "Django Social Auth" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-social-auth/aTN7CbfSipc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to django-social-a...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hooman
Korasani, CTO
www.watchfit.com
![]()
WatchFit | 35
Kingsland Road | London E2 8AA
Mobile: +44 (0) 7787 454077
I wonder if the function itself is correct:
def facebook_save(user, social_user, detail, response, *args, **kwargs):
# Save any data on the custom fields in the user model
user.date_of_birth = response.get('user_birthday')
user.save()
I can see after clicking on "connect with facebook", it kind of signs the user in with facebook. But the date of birth is still not set on the user model. Maybe it crashes here but social auth doesnt throw any errors for me. :(
-- ~Houmie