Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

serialization

django-rest-framework 3.0 create or update in nested serializer

August 14, 2022 by Magenaut

With django-rest-framework 3.0 and having these simple models:

Categories Python, Q&A Tags django, django-rest-framework, json, python, serialization Leave a comment

How do I serialize a Python dictionary into a string, and then back to a dictionary?

August 13, 2022 by Magenaut

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.

Categories Python, Q&A Tags dictionary, list, python, serialization, string Leave a comment

Django Rest Framework writable nested serializers

August 13, 2022 by Magenaut

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:

Categories Python, Q&A Tags django, django-rest-framework, python, serialization Leave a comment

Serializing binary data in Python

August 12, 2022 by Magenaut

I have some binary data which is in Python in the form of an array of byte strings.

Categories Python, Q&A Tags binary, python, python-2.7, serialization Leave a comment

Flask jsonify a list of objects

August 11, 2022 by Magenaut

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.

Categories Python, Q&A Tags flask, json, python, serialization Leave a comment

Django REST: Uploading and serializing multiple images

August 11, 2022 by Magenaut

I have 2 models Task and TaskImage which is a collection of images belonging to Task object.

Categories Python, Q&A Tags django, django-rest-framework, python, serialization Leave a comment
Newer posts
← Previous Page1 … Page3 Page4
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress