Update generic-views.md

This commit is contained in:
Kenneth Schnall 2016-07-07 15:03:49 -04:00 committed by Ken Schnall
parent 9bc6eb6c35
commit 96cd3c372f

View File

@ -7,7 +7,7 @@ source: mixins.py
>
> — [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.