Django REST Framework

Django REST Framework

Django REST Framework is a powerful package for building REST API's with the Django Web Framework and Python. Django REST Framework comes with a browsable API out of the box, a feature that improves the developer experience dramatically. If you have developed applications with Django before, you will feel right at home as Django REST Framework is model after Django. You can query your database with Django's ORM and that you have come accustomed to, and with ease serialize that data as JSON.

What is the difference between Django and Django REST Framework?

Django Rest Framework is a package built for Django that makes it easy to create a RESTful API for Django. That API can be consumed by a front-end application (most commonly built in JavaScript), or mobile application for Android or iOS. With Django alone you can only build monolithic web apps using Django's template system and the backend feature provided by Django out of the box. A regular Django web app will lack the reactivity made possible through JavaScript and will require page loads upon navigation.

What is Django REST Framework used for?

Django Rest Framework is used by developers to create RESTful API's for Django applications. Django REST Framework makes it easy to create API Enpoints, Serialize data into JSON and perform GET, POST, PUT, PATCH and DELETE requests (https requests).

New Django REST Framework Tutorials
View all
  • Freddie

    Serve Scaled Images With Django Rest Framework and Django ImageKit

    To achieve optimal speed for web apps and web sites its important to minimise file size at almost all cost. Usually the biggest culprit is images (Apart from video of course), Images can easily add up to 90% of the total load your application if your are not careful. You can mitigate

    0
  • Freddie

    How to Cache Django REST Framework with Redis

    Django REST Framework is an awesome package that will aid you in writing REST APIs faster with Django and Python. Though Django REST Framework has many strengths, performance out-of-the-box might not be one of them. However, there are many ways to fix that, and one of them is caching.

    0
  • Freddie

    Query your Django REST API like a GraphQL API with Django RESTQL

    The hype around GraphQL in recent years has been hard to ignore for any web developer. In short, GraphQL is a query language and runtime for APIs, and it has taken the web with storm. GraphQL makes it possible for front-end developers to query data from a single API endpoint and retri

    0
  • Freddie

    How to Order Objects with Django REST Framework's Nested Serializer

    An important part of building solid API is to utilize the power of nesting. With Django, and Django REST Framework its super easy to do so. But what if you want to order and manipulate these objects? One powerful feature of Django REST Framework is ability to nest objects with seriali

    0
  • Freddie

    Display Multiple Models in One Django Rest Framework View with DjangoRestMultipleModels

    Django REST Framework is a powerful package that makes it easy to create REST API's for Django. It comes bundled with everything you need to create a complete API quickly. There are some edge-cases however, for example when you want to display multiple models in view it becomes tricky

    0
New Django REST Framework Podcasts
View all
  • Django REST Framework

    DRF Google Group DjangoCon 2018 Talk: Finally Understand User Authentication in DRF DRF Official Documents: Authentication django-cors-header package Swagger vs OpenAPI API Star Starlette GraphQL vs REST SPONSORING OPTIONS DRF Sponsors Django Software Foundation SHAMELESS PLUGS W

    0
  • Django REST Framework (Ep5 Replay)

    DRF Google GroupDjangoCon 2018 Talk: Finally Understand User Authentication in DRFDRF Official Documents: Authenticationdjango-cors-header packageSwagger vs OpenAPIAPI StarStarletteGraphQL vs RESTSPONSORING OPTIONSDRF SponsorsDjango Software FoundationSupport the ShowThis podcast does

    0
New Django REST Framework Videos
View all
New Django REST Framework Questions
View all
New Django REST Framework Books
View all
New Django REST Framework Courses
View all