In this series of tutorials, we will create REST APIs using Django REST Framework (DRF) in python which is one the most popular framework out…
Learn to code with real examples
Tutorial series for Django REST Framework.
In this series of tutorials, we will create REST APIs using Django REST Framework (DRF) in python which is one the most popular framework out…
In this post, we will see the steps to install Django Rest Framework(DRF) on macOS. We will install Python3 using brew Pip3 virtualenv Django and…
Assuming you have python environment we created in last post already activated, let’s go ahead and create Django Project and App for our REST API…
After our app is added in settings.py in previous post, Let’s create our first DRF Model for our app. We will create a Quote model…
Django migrations make your life easy by automatically defining SQL tables for your models. Django comes with ORM (Object-Relational-Mapper) for this and Fields defined in…
Since our Models and Serializers are ready, we’ll now write our views. Also, unlike the Django REST Framework official tutorial which first explains regular Django…
As per our last post, we can access our APIs in browser. Let’s explore some options to customize the browsable API for our Django REST…
In last post, we created browsable API based on swagger for our Django REST Framework APIs using YASG library. In this post, we will continue…