OAuth v2 in Django 1.4

1

Friends, I'm studying how to implement the OAuth v2 protocol in my application. I've researched a lot here and found nothing that could solve my problem. So far I have a database in PostgreSQL and authentication with a Django middleware.

I've been trying to follow the documentation on link , unsuccessfully because PyCharm does not recognize the few libraries in INSTALLED_APPS and other key things in this tutorial that in theory has support for Django 1.4.x.

Would you help me, please?

Information :

  • Environment: PyCharm 2016.2.3
  • Interpreter: Python 2.7.12
  • Framework: Django 1.4.22
  • Database: PostgreSQL 9.3.15
  • Operating System: Windows 7 - 32bit
asked by anonymous 11.11.2016 / 19:55

1 answer

0

If pycharm is not recognizing libraries, it means that your project may be pointing to a different environment from where these libraries are installed, see the configuration:

File / setings / Project: project / Project Interpreter

See the picture

    
23.02.2017 / 22:57