django-rest-framework 3.0 create or update in nested serializer
With django-rest-framework 3.0 and having these simple models:
With django-rest-framework 3.0 and having these simple models:
Given a Django model with a JSONField, what is the correct way of serializing and deserializing it using Django Rest Framework?
I’m building an API using Django Rest Framework. Later this API is supposed to be consumed by iOS and Android devices. I want to allow my users to sign-up with oauth2-providers like Facebook and Google. In this case, they shouldn’t have to create an account with my platform at all. But users should also be able to sign-up when not having a Facebook/Google account, for which I’m using django-oauth-toolkit, so I have my own oauth2-provider.
I’m writing a recipe organizer as a sample project for a class. I’m not very experienced with DRF other than using some very basic functionality. Here’s the objective:
I have 2 models Task and TaskImage which is a collection of images belonging to Task object.