0

Can someone point me in the right direction maybe example code?

I have written an API in TastyPie and I now also want to consume this API within my own Django app. (I want to eat my own Dog food and all that)

i.e. I currently list contacts (pure Django) I now want to asynchronous update a record on the page.

before I make a start writing a jquery script that updates a resource on page when a user clicks, I would like to know if there is a more Django way of doing things? for example are there any apps that allow me to use classes? Thanks.

1 Answer 1

5

Maybe you should try to use the excelent python Requests library

You have a lot of good and simple examples on the documentation

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.