#100DaysOfWeb in Python Transcripts
Chapter: Days 69-72: Django REST Framework
Lecture: Lesson intro
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Hello, and welcome back to the 100 Days of Web in Python, day 69. You're almost 70% done, keep on going.
0:11
The coming four days, we're going to look at Django REST framework, which is an awesome framework which makes it very easy to build API's for Django.
0:22
Some reasons you want to use Django REST framework it has a great web browsable API, a very nice front end
0:30
which we will see in this chapter, it's easy to implement authentication, serialization in just a few lines of code
0:41
to get your ORM data into JSON, common format for API's. Just like Python, it's easy to get started
0:49
but it has very robust customizations, great documentation and it's used by some very big players like Mozilla Redhat, Heroko, and EventBrite.
1:03
So what's the plan for the coming four days? We're going to build an API using the quotes app we have been building in the previous Django lessons.
1:11
So we get our virtual environment setup and our dependencies installed. Syncing the database. It will be empty, so we're going to build a Django admin
1:20
command to parse a CSV file to import some quotes to have some data. Then we're going to build an API with Django that
1:29
fully supports CRUD operations, so read create, update, delete. We're going to lock down permissions, we are going to work
1:38
with two users, and we will see that users cannot edit quotes from each other. We take a brief look at schema and documentation generation
1:49
and for documentation we will use Swagger, and day three and four will be your turn to put into practice
1:55
what you've learned and you will build your own API. So let's get started.