Django Rest Framework

Let’s write some

Poetry

Audience

  1. Peo­ple who already know Django but don’t know Django Rest frame­work.

  2. Though, you can still pro­ceed if you know zero Django.

Introduction

I’m plan­ning on writ­ing a series on Django Rest Frame­work. The series aims to pro­vide a very con­cise intro­duc­tion to the frame­work. We would kick­start the series by dis­cussing depen­dency man­age­ment using poetry (check out uv for a great alter­na­tive). Grab the code, and let’s write some Poetry.

Why Django Rest framework?

Django works great with its tem­plate sys­tem but we might need to define APIs to work with Javascript frame­works. And, DRF pro­vides this func­tion­al­ity.

Creating a project

Assume that we now have Poetry installed. Note that I’m on Linux but most of what we are about to do works on other plat­forms.

Outro

That’s it for today. See you next time!!

References