Skip to content

Module 3 - Django REST Framework

References

Timeline

Day 1

Django REST Framework Tutorial (Part 1, 2) Part 1

  • Setting up a new environment
  • Working with Models
  • Working with Serializers
  • Writing regular Django views using our Serializer
  • Testing our first attempt at a Web API

Part 2

  • Requests and Responses

Part 3

  • Class Based Views
  • Mixins
  • Generic Class Based Views

Day 2

Django REST Framework Tutorial (Part 4, 5) Part 4

  • Adding perimissions to views
  • Create a Login API
  • Object level permissions
  • Authenticating with the API

Part 5

  • Adding a root API
  • Hyperlinking our API
  • Adding pagination

Part 6

  • Using ViewSets
  • Using routers
  • Adding pagination