How to use upwork client with Django?
See original GitHub issueHI
I’m developing the application with Django framework. As you know that Django is not keeping the client
instance across request. I can’t find the way to make it work.
def access(request):
client = upwork.Client(public_key, secret_key)
url = client.auth.get_authorize_url()
return HttpResponseRedirect(url)
def authorize(request):
oauth_verifier = request.GET.get('oauth_verifier')
oauth_access_token, oauth_access_token_secret = \
client.auth.get_access_token(oauth_verifier)
Though this is not working because again I need to call the get_authorize_url. I don’t like this behaviour because I wanted to use client
instance wherever in the Django environment. Is there any way I can make it work with across request. Like Reddit Praw they have multi instance.
Please point me in the right direction…
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Django Jobs | Upwork™
Browse 478 open jobs and land a remote Django job today. See detailed job requirements, compensation, duration, employer history, & apply today.
Read more >27 Best Freelance Django Developers For Hire In ... - Upwork
Upwork is the leading online workplace, home to thousands of top-rated Django Developers. It's simple to post your job and get personalized bids, ......
Read more >Hire the best Django Developers in the United States - Upwork
3. Collaborate easily ... Use Upwork to chat or video call, share files, and track project progress right from the app.
Read more >John G. - Python Django Vue Devops - Upwork
View John G. profile on Upwork, the world's work marketplace. John has completed 11 jobs and 2 in progress on Upwork. Check out...
Read more >Amol B. - Python | Django | DRF | Android - Upwork
My name is Amol, and I'm a Full Stack Web and Mobile App Developer Consultant with 7+ years of experience working on scalable...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
sorry, guys, but I’m closing the thread becayse Django issues / difficulties are not related to this library
yes