News for hackers. Stuff that matters.
Re:Django REST framework 3 by lumpypua on Thursday July 17, 2014 @04:23PM (#8049979)
Having used both extensively, I vastly prefer DRF.

Tastypie is nice if you want to bang out a rest interface directly to your models quickly.

I prefer DRF for pretty much anything else. Two reasons:

1. There's more tools in the toolbox for simple but arbitrary problems. Need a one-off endpoint that takes a POST and returns json and is throttled? The @api_view decorator and company make it easy: http://www.django-rest-framework.org/api-guide/views#functio...

2. DRF is a lot more easily extensible, and that extensibility is well documented. Tastypie's documentation is pretty good, but DRF's is great. I often found myself digging around in tastypie's source figuring how exactly to punch holes and make it do what I want.

There are no comments on this comment yet.