1.6K
1.6K
+ 1
301

What is Django REST framework?

It is a powerful and flexible toolkit that makes it easy to build Web APIs.
Django REST framework is a tool in the Microframeworks (Backend) category of a tech stack.
Django REST framework is an open source tool with 22.1K GitHub stars and 5.9K GitHub forks. Here’s a link to Django REST framework's open source repository on GitHub

Who uses Django REST framework?

Companies
321 companies reportedly use Django REST framework in their tech stacks, including Robinhood, UpstageAI, and Bepro Company.

Developers
1217 developers on StackShare have stated that they use Django REST framework.

Django REST framework Integrations

Django, Sentry, Rollbar, Stream, and Django REST framework JWT are some of the popular tools that integrate with Django REST framework. Here's a list of all 7 tools that integrate with Django REST framework.
Pros of Django REST framework
64
Browsable api
64
Easy to use
53
Great documentation
49
Customizable
41
Fast development
9
Easy to use, customizable, pluggable, serializer
8
Python
5
Django ORM
4
FastSerialize
2
Less code
2
Easy implementation
0
Dsasda
Decisions about Django REST framework

Here are some stack decisions, common use cases and reviews by companies and developers who chose Django REST framework in their tech stack.

Ilya Lebedev

Python's GraphQL version – Graphene – has some critical disadvantages, that we found critical: - Lack of code optimisation. It is also hard to write optimized code because of graphene node API. - Nonsecure by default. By using reversed fks, you can get a lot of extra data. To stop this, we have to explicit exclude wrong fields, which seems to be error prone. - Nonflexible code structure. You can't make abstract graphene.ObjectType class, this limits us a lot.

These are some reasons, that make us move to Django REST framework .

See more

Hi

I’ve been using Django for the last year on and off to do my backend API. I’m getting a bit frustrated with the Django REST framework with the setup of the serializers and Django for the lack of web sockets. I’m considering either Spring or .NET Core. I’m familiar with Kotlin and C# but I’ve not built any substantial projects with them. I like OOP, building a desktop app, web API, and also the potential to get a job in the future or building a tool at work to manage my documents, dashboard and processes point cloud data.

I’m familiar with c/cpp, TypeScript.

I would love your insights on where I should go.

See more

Hi I am getting into web development and have two choices at hand learn Django and Django REST framework for apis and Node.js and ExpressJS for backend which one would be the better choice

See more
Christian Stefanescu
Head of IT at lawpilots · | 5 upvotes · 25.6K views

A big part of our needs fits perfectly into what Django has to offer: an ORM with support for PostgreSQL , the amazing auto-generated admin interface, consolidated tooling around the application lifecycle and a well-established community with solutions to the majority of common problems.

We use Django whenever we need the auto-generated admin and the friendly templating language to build capable web applications which are relatively easy to maintain for a comparably long time. The excellent integrations for Celery and Django REST framework make it easy to build the necessary integrations with other services.

See more

Blog Posts

+42
47
39282
+47
49
69257
+3
6
5311

Django REST framework's Features

  • The Web browsable API is a huge usability win for your developers.
  • Authentication policies including OAuth1a and OAuth2 out of the box.
  • Serialization that supports both ORM and non-ORM data sources.
  • Customizable all the way down - just use regular function-based views if you don't need the more powerful features.
  • Extensive documentation, and great community support.
  • Used and trusted by large companies such as Mozilla and Eventbrite.

Django REST framework Alternatives & Comparisons

What are some alternatives to Django REST framework?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Tastypie
Tastypie is a webservice API framework for Django. It provides a convenient, yet powerful and highly customizable abstraction for creating REST-style interfaces.
Swagger UI
Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation and sandbox from a Swagger-compliant API
Graphene
Graphene is a Python library for building GraphQL schemas/types fast and easily.
See all alternatives

Django REST framework's Followers
1638 developers follow Django REST framework to keep up with related blogs and decisions.