Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 1.09 KB

File metadata and controls

26 lines (25 loc) · 1.09 KB

DRF_recipe_rest_api_with_modelviewset

This is demo recipe rest api develop in django rest framework using class base views with Modelviewset and Django swager for UI api docs

Requirements:

what you will learn from this tutorial:

  • How to build rest Api in Django rest framework
  • searialize api data
  • Handling CRUD Operations
  • Adding custom in model view set using action decorator
  • Appling Authentication, pagination and Swager ui docs

how to run this code:

  • clone or download it from here
  • install requirements.txt file
  • pip install -r requirements.txt
  • run this command to execute this code
  • python manage.py runserver