News for hackers. Stuff that matters.
Re:Show HN: Django REST – Typed Views by leowoo91 on Wednesday October 16, 2019 @07:22AM (#21269169)
Looks nice! That might save 4-5 lines in beginning of the API view functions for type checks and redundant 400 returns. Title should have "Show HN" I think.
Re:Show HN: Django REST – Typed Views by rsinger87 on Wednesday October 16, 2019 @08:08AM (#21269476)
Cool, I've added the "Show HN:" prefix. Yeah, probably most useful for API view functions, since ViewSets often handle the CRUD endpoints automatically.