Sneaky REST APIs With Django Ninja

Many web projects have moved to the single-page application model. To use this model with Django, you build a project where Django is the back end accessed through a REST API. The Django Ninja library is a FastAPI-inspired tool kit for turning Django views into REST API endpoints with very little extra code. Along the way, you’ll be using curl, a command-line tool that allows you to grab the contents of a web page.

If you’d like to quickly build API endpoints and learn the ways of the Ninja, you’re in the right place.

In this course, you’ll learn about:

  • Django Ninja
  • URL arguments and query strings
  • Serialization through Schema and ModelSchema classes
  • CRUD operations
  • Authentication
  • Error management

What’s Included:

Downloadable Resources:

About Christopher Trudeau

Christopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams.

» More about Christopher

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

« Browse All Courses