Django vs Django REST framework

Django
Django

6.3K
1.7K
2.8K
Django REST framework
Django REST framework

686
119
255
Add tool

Django vs Django REST framework: What are the differences?

Django: The Web framework for perfectionists with deadlines. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design; Django REST framework: Web APIs for Django. Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.

Django can be classified as a tool in the "Frameworks (Full Stack)" category, while Django REST framework is grouped under "Microframeworks (Backend)".

"Rapid development" is the primary reason why developers consider Django over the competitors, whereas "Browsable api" was stated as the key factor in picking Django REST framework.

Django and Django REST framework are both open source tools. Django with 42.6K GitHub stars and 18.3K forks on GitHub appears to be more popular than Django REST framework with 14.7K GitHub stars and 4.33K GitHub forks.

Instagram, Pinterest, and Udemy are some of the popular companies that use Django, whereas Django REST framework is used by The3ballsoft, Uploadcare, and Crowdkeep. Django has a broader approval, being mentioned in 993 company stacks & 914 developers stacks; compared to Django REST framework, which is listed in 159 company stacks and 79 developer stacks.

What is Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is Django REST framework?

Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Django?
Why do developers choose Django REST framework?
What are the cons of using Django?
What are the cons of using Django REST framework?
What companies use Django?
What companies use Django REST framework?
What are some alternatives to Django and Django REST framework?
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Rails
Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives
What tools integrate with Django?
What tools integrate with Django REST framework?
Decisions about Django and Django REST framework
No stack decisions found
Interest over time
Reviews of Django and Django REST framework
No reviews found
How developers use Django and Django REST framework
Avatar of MOKA Analytics
MOKA Analytics uses DjangoDjango

Django takes the hassle out of building an enterprise web application using Python.

  • admin app for administration
  • ORM for deploying against different database vendors
  • social auth package for authentication with enterprise IdP
  • guardian package for authorization
Avatar of Yaakov Gesher
Yaakov Gesher uses DjangoDjango

Our backend was written in Django. We took advantage of the ready-to-go admin interface as a go-to solution for the client to be able to authorize his users, as well as other functionality, while most of the work was done through the Django Rest Framework.

Avatar of Blair Gemmer
Blair Gemmer uses DjangoDjango

Hands down the best Python web framework I've used. Very easy to extend and add apps and go from 0 to full project quickly and painlessly. I built a fully authenticated project with a single endpoint in less than 30 minutes.

Avatar of Yaakov Gesher
Yaakov Gesher uses Django REST frameworkDjango REST framework

Django REST delivered all the content to the BI, making calls to the Postgres DB, aggregating numeric data, and automatically associating data models at the time of row creation.

Avatar of Alec Cunningham
Alec Cunningham uses Django REST frameworkDjango REST framework

Instead of using Django for both back and frontend, I use DRF to layout an API that ReactJs can pull data from. Easy to setup, well documented, and works seamlessly with React.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses DjangoDjango

정말 편리하고 많은것을 알아서 제공해 주는 프레임워크 이다. 책의 예제만 진행해서 많이 써보지는 못했지만, 쉽게 쉽게 웹을 개발 할 수 있는 점이 매력적 이다. 게다가 orm 이 기본으로 내장 되어 있고 db 도 sqlite 가 기본으로 되어있어. 그냥 django 만 설치하면 바로 웹개발이 가능하다.

Avatar of Seungkwon Park
Seungkwon Park uses Django REST frameworkDjango REST framework

django에서 api를 만드는데 최고의 framework라고 생각합니다. 아직은 tutorial 수준의 class base view, function base view 수준으로 사용합니다.

하지만 현재 진행중인 프로젝트의 심화로 REST framework를 심도있게 다룰 예정입니다.

Avatar of Seungkwon Park
Seungkwon Park uses DjangoDjango

django는 저의 무기입니다.

django 이외에 flask로 간단한 restful api를 만들면서 느낀점은 framework 보다 언어가 중요하다는것을 알았고 django가 얼마나 큰 framework인지 알게되었습니다.

저는 signal 사용을 좋아합니다.

Avatar of Eray Erdin
Eray Erdin uses Django REST frameworkDjango REST framework

Project is mainly a RESTful service project, so DRF had a a huge role in it.

Avatar of Blair Gemmer
Blair Gemmer uses Django REST frameworkDjango REST framework

Really great framework for building RESTful APIs. Lots of plugins for it!

How much does Django cost?
How much does Django REST framework cost?
Pricing unavailable
Pricing unavailable
News about Django REST framework
More news