Tutorial by Examples

Requirements Python (2.7, 3.2, 3.3, 3.4, 3.5, 3.6) Django (1.7+, 1.8, 1.9, 1.10, 1.11) Install You can either use pip to install or clone the project from github. Using pip: pip install djangorestframework Using git clone: git clone [email protected]:tomchristie/django-rest-framew...
Let's take a look at a quick example of using REST framework to build a simple model-backed API. We'll create a read-write API for accessing information on the users of our project. Any global settings for a REST framework API are kept in a single configuration dictionary named REST_FRAMEWORK. Sta...

Page 1 of 1