mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Merge pull request #1124 from johnmee/patch-1
Mindnumbingly trivial single-char typo.
This commit is contained in:
commit
97dd78d88c
|
@ -85,7 +85,7 @@ Right, we'd better write some views then. Open `quickstart/views.py` and get ty
|
||||||
queryset = Group.objects.all()
|
queryset = Group.objects.all()
|
||||||
serializer_class = GroupSerializer
|
serializer_class = GroupSerializer
|
||||||
|
|
||||||
Rather that write multiple views we're grouping together all the common behavior into classes called `ViewSets`.
|
Rather than write multiple views we're grouping together all the common behavior into classes called `ViewSets`.
|
||||||
|
|
||||||
We can easily break these down into individual views if we need to, but using viewsets keeps the view logic nicely organized as well as being very concise.
|
We can easily break these down into individual views if we need to, but using viewsets keeps the view logic nicely organized as well as being very concise.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user