30.3.6 Building REST APIs

Websites consist of a front end and a back end, and a lot of the time you will want to build websites where the two communicate with each other. In most circumstances, enabling the JavaScript front end to communicate with the Django back end will involve building a REST API.

The most popular tool today for building REST APIs in Django is the Django REST Framework, and I recommend you take a look at how it works (and what a REST API is), as it will prove instrumental in helping you rapidly build modern websites.

Get Django Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.