Задать вопрос

Тел: +7 965 3737 888

435

Просмотров

0

Ответов

Little middleware that create a facebook user

How to use:

  1. Install PyFacebook package.
  2. After make all steps in tutorial above, put this code in your app's models.py module (you maybe prefer split it and put the middleware class in some other file).
  3. Put the FacebookUserMiddleware python-path in the MIDDLEWARE_CLASSES in your settings.py (after facebook.djangofb.FacebookMiddleware).

You probably will add some fields to FacebookUser model class :)

Вопрос полезен? Да0/Нет0
file_2363.py(626.0б)
None