Github icon Twitter icon Facebook Globe

The Beauty of ViewSets in Django Rest Framework

Wednesday 4:10pm, Ballroom A
Intermediate

About This Talk

ViewSets will make your code shorter, more robust, and save you time during your development, if you let them. I have spent a lot of time dealing with writing view code, and dealing with all the urls, only to finally learn ViewSets. It immediately saved development time as well as making my code more simple.

Generally to make a new, basic, endpoint in DRF for a model it would take about 15 minutes. That includes creating a serializer, urls, views, and testing it the browser. Now that same endpoint is more easily understood and done, all the steps, in less than 5 minutes. Leaving you more time to worry about what your new app is supposed to actually do.

Photo of

Buddy Lindsey, Jr.

Buddy is the creator and producer of screencasts at GoDjango.com. He is also a Senior Software Engineer at Summit ESP. Buddy has also been doing some sort of web or software development since he was 14. Outside of development he loves camping, hiking, and photography.