mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 14:24:48 +03:00
Update generic-views.md
This commit is contained in:
parent
9bc6eb6c35
commit
96cd3c372f
|
@ -7,7 +7,7 @@ source: mixins.py
|
||||||
>
|
>
|
||||||
> — [Django Documentation][cite]
|
> — [Django Documentation][cite]
|
||||||
|
|
||||||
One of the key benefits of class based views is the way they allow you to compose bits of reusable behavior. REST framework takes advantage of this by providing a number of pre-built views that provide for commonly used patterns.
|
One of the key benefits of class-based views is the way they allow you to compose bits of reusable behavior. REST framework takes advantage of this by providing a number of pre-built views that provide for commonly used patterns.
|
||||||
|
|
||||||
The generic views provided by REST framework allow you to quickly build API views that map closely to your database models.
|
The generic views provided by REST framework allow you to quickly build API views that map closely to your database models.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user