Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://127.0.0.1:8000/accounts/linkedin_oauth2/login/callback/
- http://127.0.0.1:8000/accounts/linkedin_oauth2/login/callback/my/
- views.py
- def index(request):
- return HttpResponse("Hello, world. You're at the polls index.")
- def getProfile(request):
- return HttpResponse("Hello, world. You're at the polls index.")
- urls.py
- url(r'^accounts/linkedin_oauth2/login/callback/$',views.index,name='index'),
- url(r'^accounts/linkedin_oauth2/login/callback/my/$',views.index,name='getProfile'),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement