Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6602305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:51:39+00:00 2026-05-25T18:51:39+00:00

Why would you use one over the other, for exposing an API for your

  • 0

Why would you use one over the other, for exposing an API for your Django app?

http://pypi.python.org/pypi/djangorestframework/

http://pypi.python.org/pypi/django-tastypie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:51:39+00:00Added an answer on May 25, 2026 at 6:51 pm

    As the author of django-rest-framework, I’ve got an obvious bias 😉 but my hopefully-fairly-objective opinion on this is something like:

    TastyPie

    • As Torsten noted, you’re not going to go far wrong with something written by the same peeps as the awesome django-haystack. From what I’ve seen on their mailing list Daniel Lindsey et al are super-helpful, and Tastypie is stable, comprehensive and well documented
    • Excels in giving you a sensible set of default behaviour and making building an API with that style incredibly easy.

    Django REST framework

    • Gives you HTML browse-able self-describing APIs. (EG, see the tutorial API.) Being able to navigate and interact with the API directly in the browser is a big usability win.
    • Tries to stay close to Django idioms throughout – built on top of Django’s class based views, etc… (Whereas TastyPie came along before Django’s CBVs existed, so uses it’s own class-based views implementation)
    • I’d like to think that the underlying architecture is pretty nicely built, decoupled etc…

    In any case, both are good. I would probably characterise Tastypie as giving you a sensible set of defaults out of the box, and REST framework as being very nicely decoupled and flexible. If you’re planning on investing a lot of time in the API, I’d def recommend browsing through the docs & codebase of each and trying to get a feel for which suits you more.

    Obviously, there’s also the ‘Why TastyPie?’ section in it’s README, and the ‘REST framework 3’.

    See also Daniel Greenfeld’s blog post on Choosing an API framework for Django, from May 2012 (Worth noting that this was still a few months before the big REST framework 2.0 release).

    Also a couple of threads on Reddit with folks asking this same question, from Dec 2013 and July 2013.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

And why would I use one over the other in my code?
What's the difference between the two? Why would you use one over the other?
When would one choose to use Rx over TPL or are the 2 frameworks
Why one would use one of the following packages instead of the other? Java
So which one is the newer one, and why would I use one over
Could someone explain why I would use one of these endpoint annotations over the
Why would one use realloc() function to resize an dynamically allocated array rather than
Why would one use func( const Class &value ) rather than just func( Class
Why would one use a functional language in an otherwise Imperative project?
Starting a new project and would like to use one of the MVC framworks.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.