mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 14:24:48 +03:00
Update views.md
This commit is contained in:
parent
59e3bbf122
commit
04af9a37d9
|
@ -1,9 +1,9 @@
|
||||||
source: decorators.py
|
source: decorators.py
|
||||||
views.py
|
views.py
|
||||||
|
|
||||||
# Class Based Views
|
# Class-based 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]
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ You won't typically need to override this method.
|
||||||
|
|
||||||
# Function Based Views
|
# Function Based Views
|
||||||
|
|
||||||
> Saying [that Class based views] is always the superior solution is a mistake.
|
> Saying [that class-based views] is always the superior solution is a mistake.
|
||||||
>
|
>
|
||||||
> — [Nick Coghlan][cite2]
|
> — [Nick Coghlan][cite2]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user