[Answered ]-Tastypie or django-rest-framework for django in existing versions

2👍

Your question is really broad. I haven’t used django-rest-framework for nothing big. Altough I use Tastypie heavily everyday for a big API. And it was really good.

We were able to plug our own custom authentication mechanism, that ended up working pretty well. Also, I needed to use complex schema types (GPX, and TCX formats) and it was really easy to make those work.

As a summary, Tastypie is really easy to extend. Also, it’s really easy to start. With a couple of lines you can get a working API.

It has a good support of HATEOAS and a great error handling feature. It uses pretty well HTTP status codes too.

As a final thought, both seem to be heavily developed (both have commits in the last couple of days).

It’s up to you to choose accordingly to your needs.

Leave a comment