Python/Django

//Python/Django

Django Social Auth Integration With Django Rest Framework

Few days back I have to write an API to register a user using Facebook and Google social auth. The task was simple I will get facebook or google access_token in request and then I will use that to get User information from facebook and store it in Database and also create auth_token using django-rest-framework and return it in response so client side can use this token for subsequent calls. The application was using django-social-auth for its web version already to give users the ability to register using Facebook and Google. The application was also using django-rest-framework version 2.4 for writing REST APIs. […]

By | February 7th, 2018|Django Rest Framework, Python/Django|1 Comment

Top 10 Mistakes that Django Developers Make

In this tutorial, we will look at some common mistakes that are often [...]

By | April 26th, 2017|Python/Django|1 Comment