0👍
✅
solved.
adding 'facebook.djangofb.FacebookMiddleware'
to MIDDLEWARE_CLASSES
in settings.py
will attach a facebook
object to every incoming request.
2👍
Actually, you need
'socialregistration.middleware.FacebookMiddleware'
in MIDDLEWARE_CLASSES
not 'facebook.djangofb..'
one.
- [Answered ]-How to get list post data in django forms?
- [Answered ]-Django-registration class-based views with different templates and parameters
Source:stackexchange.com