mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 21:24:33 +03:00
Added the separator line back
Accidentally also deleted a line.
This commit is contained in:
parent
ad501d41f5
commit
1368d3677c
|
@ -19,6 +19,7 @@ REST framework provides an `APIView` class, which subclasses Django's `View` cla
|
|||
Using the `APIView` class is pretty much the same as using a regular `View` class, as usual, the incoming request is dispatched to an appropriate handler method such as `.get()` or `.post()`. Additionally, a number of attributes may be set on the class that control various aspects of the API policy.
|
||||
|
||||
For example:
|
||||
|
||||
from rest_framework.views import APIView
|
||||
from rest_framework.response import Response
|
||||
from rest_framework import authentication, permissions
|
||||
|
|
Loading…
Reference in New Issue
Block a user