Oauth v2 in Django 1.4

Asked

Viewed 71 times

2

Friends, I am studying how to implement the Oauth v2 protocol in my application. I’ve done a lot of research here, and I haven’t found anything 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 in http://django-oauth-toolkit.readthedocs.io/en/stable/, unsuccessfully, because Pycharm does not recognize some libraries in INSTALLED_APPS and other key things in this tutorial that in theory supports Django 1.4.x.

Could 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 - 32 bits
  • Just out of curiosity, you are using Django 1.4 for some imposition of a customer or simply because you want?

  • In the documentation you quoted, this library does not support Django version 1.4.

  • It’s a customer’s need. Have a version of this documentation that says it supports: http://django-oauth-toolkit.readthedocs.io/en/stable/. I changed the question!

1 answer

1

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

File/setings/Project:seuprojeto/Project Interpreter

See the figureConfiguração Pycharm

Browser other questions tagged

You are not signed in. Login or sign up in order to post.