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?
What is Django REST framework?
Want advice about which of these to choose?Ask the StackShare community!
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
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.
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.
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.
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.
정말 편리하고 많은것을 알아서 제공해 주는 프레임워크 이다. 책의 예제만 진행해서 많이 써보지는 못했지만, 쉽게 쉽게 웹을 개발 할 수 있는 점이 매력적 이다. 게다가 orm 이 기본으로 내장 되어 있고 db 도 sqlite 가 기본으로 되어있어. 그냥 django 만 설치하면 바로 웹개발이 가능하다.
django에서 api를 만드는데 최고의 framework라고 생각합니다. 아직은 tutorial 수준의 class base view, function base view 수준으로 사용합니다.
하지만 현재 진행중인 프로젝트의 심화로 REST framework를 심도있게 다룰 예정입니다.
django는 저의 무기입니다.
django 이외에 flask로 간단한 restful api를 만들면서 느낀점은 framework 보다 언어가 중요하다는것을 알았고 django가 얼마나 큰 framework인지 알게되었습니다.
저는 signal 사용을 좋아합니다.
Project is mainly a RESTful service project, so DRF had a a huge role in it.