Milan
No
Milan
It's from: from rest_framework.parsers import JSONParser
ʚɞÇherry Łoveʚɞ
try jp(request.decode("utf-8")
ʚɞÇherry Łoveʚɞ
sure
ʚɞÇherry Łoveʚɞ
you need access POST data with request.
ʚɞÇherry Łoveʚɞ
i dont remember exactly, so you try to print(request.POST) please
ʚɞÇherry Łoveʚɞ
so you Post nothing to this API ?
ʚɞÇherry Łoveʚɞ
do not need decode for this case.
Milan
No i post obviously...
ʚɞÇherry Łoveʚɞ
just remove decode function and change POST to body.
ʚɞÇherry Łoveʚɞ
remove jsonparser and use data=request.data directly.
Milan
remove jsonparser and use data=request.data directly.
Prints data in terminal. But raise ..
ʚɞÇherry Łoveʚɞ
ok i see
ʚɞÇherry Łoveʚɞ
because you used djang function base API. If you want to use REST, learn django Rest class base API. it's better.
Milan
Irefference all this from here: https://youtu.be/UkwTHlKD_5k
Milan
Plz check it out
ʚɞÇherry Łoveʚɞ
anyway, for this case try to jsonfy request.body with other json function then retry.
Milan
because you used djang function base API. If you want to use REST, learn django Rest class base API. it's better.
Yaa, I'll do that all way that available... This above-mentioned YouTube guy shows that all ways..
Milan
But I follow him through all possible way
Milan
He successfully complete his FBV api
Milan
I code same but mine don't work
Milan
Though I still try. Ofcourse CBV api and generics with mixins also way more easier than FBV api.. But I wanna go through all methods
ʚɞÇherry Łoveʚɞ
oh i see.
inchidi
http://www.django-rest-framework.org/tutorial/2-requests-and-responses/#pulling-it-all-together
Abhi
hey guys i am using heroku for a basic website
Abhi
but i am unable to store files in the free version of heroku
Abhi
I saw somewhere that we can use amazon S3 for persistence storage
Abhi
but i want to use google cloud storage instead!
Abhi
so how can i use google cloud storage for django heroku app?
Jimmies San
so how can i use google cloud storage for django heroku app?
have you try to search in google for this? have you find some tutorial? do you try some procedure? do you experience problems during thi sprocedure? if yes: tell us your issue we try to help. if not: or do you want that we help you like a paid support? :)
Rohan
I can help for some bucks xD
Rohan
gh
Gh ?
Abhi
I googled it! But I cant find anything I came across something like using boto
Abhi
still no idea
Jimmies San
Gh ?
it's onomatopea for smile
Rohan
it's onomatopea for smile
I'll remember that now :)
Jimmies San
I googled it! But I cant find anything I came across something like using boto
mmmmmh "i can't find anything" seems hard to me :) do you need it for postgres or for uploaded files or both?
Jimmies San
uploaded image files
https://stackoverflow.com/questions/38938203/django-heroku-boto-direct-file-upload-to-google-cloud-storage
Jimmies San
google is your best friend :D
Jimmies San
use gcloud storage is like use S3 aws: the API are compatible so use boto to do that
Daniel
if you want cost-effective, AWS storage is much cheaper than Google's
Daniel
Computing (data processing, CPU) is much cheaper and fine grained on Google than on AWS
Daniel
depends what you require more
Django Bot
>> Links - Appointment Reminders with Python and Django - Twilio - Appointment Reminders with Python and Django - Twilio
Abhi
Thanks
Django Bot
>> Jobs - Back End Developer
Django Bot
>> Links - Vue.js and Django : django
Anonymous
Hello Guys
Anonymous
Am New to Django, I have a project, I want to create an Restful API for a taxi Mobile app, Any help?
Django Bot
>> Links - Flask vs. Django: Why Flask Might Be Better | Codementor
ARB
Hey folks, I'm very newbie for Django. So can you provide me the best resources to learn Django?
Django Bot
>> Blogs - python django Automated testing part 2
inchidi
Hey folks, I'm very newbie for Django. So can you provide me the best resources to learn Django?
New to Django? here is some resources to start Official docs tutorial Step by step tutorial Video tutorial Another video tutorial Book
Jimmies San
idk if in the list but this is good too for beginners https://simpleisbetterthancomplex.com/series/beginners-guide/1.11/
Pradeep
Am New to Django, I have a project, I want to create an Restful API for a taxi Mobile app, Any help?
I am also new to django, but we can at least start the project and can help each other
Pradeep
I believe learning by doing if we start the project then we will stuck at many places and will face trouble and by research, finding solution, try solving those things, we will learn django and at the end we will have one django app in our pocket 😊
Anonymous
🙌👍thanks man
biswaz
Anyone here used saleor?
mahori.
Looking for django rockstar
mahori.
CTC upto 9lakh. 0-4 years experience.
mahori.
Location Bangalore.
mahori.
Thanks!
mahori.
Sorry is job posting is prohibited
Pradeep
CTC upto 9lakh. 0-4 years experience.
when you mention 0-4 years experience means freshers can also apply ?
mahori.
Yup.
Rohan
Yup.
Is vacancy limited to 1 ?
Pradeep
so I am ready. I am python developer with knowledge of django
mahori.
2.
Pradeep
please let me know hot to apply
Rohan
I wanna apply too
Rohan
Are there any pre requisites ?
Thara bhai mudi
🌚
mahori.
Please go over the PDF. It has link to apply and other relevant information. Thanks!