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:
How do I serialize a Python dictionary into a string, and then back to a dictionary? The dictionary will have lists and other dictionaries inside it.
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 some binary data which is in Python in the form of an array of byte strings.
I have a list of objects that I need to jsonify. I’ve looked at the flask jsonify docs, but I’m just not getting it.
I have 2 models Task and TaskImage which is a collection of images belonging to Task object.