
Home - Django REST framework
Django REST framework is a powerful and flexible toolkit for building Web APIs. Some reasons you might want to use REST framework: The Web browsable API is a huge usability win for your developers.
Quickstart - Django REST framework
We're going to create a simple API to allow admin users to view and edit the users and groups in the system. Project setup. Create a new Django project named tutorial, then start a new app called quickstart.
Tutorials and Resources - Django REST framework
Creating a Production Ready API with Python and Django REST Framework – Part 4; Django Polls Tutorial API; Django REST Framework Tutorial: Todo API; Tutorial: Django REST with React (Django 2.0) Videos Talks. Level Up! Rethinking the Web API Framework; How to Make a Full Fledged REST API with Django OAuth Toolkit
Views - Django REST framework
In addition to the documentation here, the Classy Django REST Framework resource provides a browsable reference, with full methods and attributes, for each of Django REST Framework's class-based views.
2 - Requests and responses - Django REST framework
From this point we're going to really start covering the core of REST framework. Let's introduce a couple of essential building blocks. Request objects. REST framework introduces a Request object that extends the regular HttpRequest, and provides more flexible request parsing.
1 - Serialization - Django REST framework
This tutorial will cover creating a simple pastebin code highlighting Web API. Along the way it will introduce the various components that make up REST framework, and give you a comprehensive understanding of how everything fits together.
Documenting your API - Django REST framework
The browsable API that REST framework provides makes it possible for your API to be entirely self describing. The documentation for each API endpoint can be provided simply by visiting the URL in your browser.
Requests - Django REST framework
REST framework's Request class extends the standard HttpRequest, adding support for REST framework's flexible request parsing and request authentication. Request parsing REST framework's Request objects provide flexible request parsing that allows you to treat requests with JSON data or other media types in the same way that you would normally ...
Throttling - Django REST framework
The throttle classes provided by REST framework use Django's cache backend. You should make sure that you've set appropriate cache settings. The default value of LocMemCache backend should be okay for simple setups. See Django's cache documentation for more details.
Testing - Django REST framework
REST framework also includes a client for interacting with your application using the popular Python library, requests. This may be useful if: You are expecting to interface with the API primarily from another Python service, and want to test the …