On maandag 16 juli 2018 20:36:00 CEST Vijay Khemlani wrote:
> django rest framework would be your best bet
> 
> http://www.django-rest-framework.org/

For prosperity:

No, that would not help at all. DRF is used to *provide* an API to others. He 
wants to *use* an API as if it was a model. So save would PUT data to a REST 
api and not bother with database storage at all.

While possible, you'll have a hard time writing it as nothing in Django's 
models is going to be of any help. Getting it to perform well, is also a hard 
for a very simple reason: all your saving and loading is going to go over a 
network connection. Not to mention figuring out relations...

However, I don't understand your wish: what is the upside of storing data in a 
rest api this way?
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/19903838.JmTxSYjbZD%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to