Posts tagged "drf"

Frank Wiles

Pro-Tip - Nullable DRF FloatFields and Javascript

Sometimes you want your FloatFields to be nullable, but your JS code isn't quite smart enough to handle it.

Lacey Henschel

Using Different Read and Write Serializers in Django REST Framework

On a recent project, we needed to use different serializers for GET vs POST/PUT/PATCH requests to our API. Read on to learn how we used a mixin to accomplish this goal.