mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Move quote below title for consistency
This commit is contained in:
parent
247696e820
commit
b5e07abc15
|
@ -1,11 +1,11 @@
|
||||||
<a class="github" href="views.py"></a>
|
<a class="github" href="views.py"></a>
|
||||||
|
|
||||||
|
# Views
|
||||||
|
|
||||||
> Django's class based views are a welcome departure from the old-style views.
|
> Django's class based views are a welcome departure from the old-style views.
|
||||||
>
|
>
|
||||||
> — [Reinout van Rees][cite]
|
> — [Reinout van Rees][cite]
|
||||||
|
|
||||||
# Views
|
|
||||||
|
|
||||||
REST framework provides a simple `APIView` class, built on Django's `django.generics.views.View`. The `APIView` class ensures five main things:
|
REST framework provides a simple `APIView` class, built on Django's `django.generics.views.View`. The `APIView` class ensures five main things:
|
||||||
|
|
||||||
1. Any requests inside the view will become `Request` instances.
|
1. Any requests inside the view will become `Request` instances.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user