1.8K
1.9K
+ 1
304

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 GitHub stars and GitHub forks. Here’s a link to Django REST framework's open source repository on GitHub

Who uses Django REST framework?

Companies
339 companies reportedly use Django REST framework in their tech stacks, including Robinhood, UpstageAI, and BirdView.

Developers
1395 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
65
Easy to use
64
Browsable api
53
Great documentation
49
Customizable
41
Fast development
9
Easy to use, customizable, pluggable, serializer
8
Python
6
Django ORM
5
FastSerialize
2
Less code
2
Easy implementation
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
Nyasha Chizampeni
Software Engineer at Petalm Africa Group · | 3 upvotes · 40 views
Shared insights
on
Django REST frameworkDjango REST framework

l'm building a backend service with Django REST framework and l was wondering which method of authentication should l choose?

See more
rajeev kumar
District Informatics Officer at Informatics Center · | 7 upvotes · 28.6K views

Hey Everyone,

I am using the Django with Django REST framework for backend and API.. for front-end using React..

  1. What will be the best way for deployment. Backend and front-end are at different domains or both at the same domain...
  2. My app will be used concurrently by more than 1000 users. How will I achieve performance? Is there any suggestions...
See more
Arjiv Jivithkumar
Junior Product Manager at Vozz · | 13 upvotes · 28K views

Hey everyone! I'm planning on building a personal project - this will be my first full-stack project and will be a web app.

The way it will work is that users will be able to post groups. This can be, groups for studying or groups for work, etc. They can also set the desired group size (e.g. limit the group to 3 members). Other users can then join said group - once the group is full, it will automatically close.

What tech stack would you all recommend for this? I have a lot of experience with Django so maybe that will be good for the backend but I'm not sure where to go from there. I've heard using the Django REST framework with a React frontend might be good. Always open to learning new technologies and thanks in advance!

See more

Blog Posts

GitHubPythonReact+42
48
40060
GitHubPythonNode.js+47
53
70917
PythonDjangoDjango REST framework+3
6
5462

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
1892 developers follow Django REST framework to keep up with related blogs and decisions.