Django REST Framework

Django REST Framework Tutorials

We found 6 Django REST Framework Tutorials
Query your Django REST API like a GraphQL API with Django RESTQL
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...
How to Cache Django REST Framework with Redis
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....
How to Count Reverse ManyToMany Relationships with Django REST Framework
How to Count Reverse ManyToMany Relationships with Django REST Framework
Sometimes it's useful to count the numbers of reverse m2m relationships for each specific object of a queryset. Normally with Django you would do this at the view level and it would automatically be available for you in the templates, through Django's template engine. #views.py from ...
Display Multiple Models in One Django Rest Framework View with DjangoRestMultipleModels
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...
Serve Scaled Images With Django Rest Framework and Django ImageKit
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 ...
How to Order Objects with Django REST Framework's Nested Serializer
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...

Django REST Framework Tutorials

Tutorials are a fantastic medium for learning and gather quick knowledge about a specific topic. In total, our community has published 6 tutorials about Django REST Framework. These tutorials can be read to get a better understand of how Django REST Framework works. All Django REST Framework Tutorials on this page are rated by the communtiy so that you are presented with the best content possible. New articles will instantly be added to this list as they are written and published by community members.

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.