tags:

views:

131

answers:

1

Hi. Im trying to implement django-socialregistration, with all dependences included, I just followed those instructions. im having this error after authenticating with facebook:

'WSGIRequest' object has no attribute 'facebook'
C:\Python25\lib\site-packages\socialregistration\views.py in facebook_login
    108. if not request.facebook.check_session(request):

what im missing? some middleware excepted? thx :)

+1  A: 

solved.

adding 'facebook.djangofb.FacebookMiddleware' to MIDDLEWARE_CLASSES in settings.py will attach a facebook object to every incoming request.

panchicore