[Django]-Django Rest Framework 3.7.7 does not handle Null/None ForeignKey values

4👍

I just upgraded myself and ran into this. Gave it a quick google and found this in the docs:

When serializing fields with dotted notation, it may be necessary to provide a default value if any object is not present or is empty during attribute traversal.

👤Ben P

Leave a comment