Laur's blog
Sign in Subscribe

field

A collection of 1 post
DRF: What is 'source' in Fields?
django

DRF: What is 'source' in Fields?

For a couple of days I've been trying to de-serialise a JSON to a model. My problem is the model and the JSON have different fields, mainly to keep the model pythonic and independent of a specific JSON source. So... I've been trying to use the
Sep 30, 2017 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost