Commit 8da18fbb by Stephan Groß

Merge pull request #1033 from martync/patch-1

Fix typo
parents 5a03e2c3 770d4963
...@@ -10,7 +10,7 @@ A `ViewSet` class is only bound to a set of method handlers at the last moment, ...@@ -10,7 +10,7 @@ A `ViewSet` class is only bound to a set of method handlers at the last moment,
Let's take our current set of views, and refactor them into view sets. Let's take our current set of views, and refactor them into view sets.
First of all let's refactor our `UserList` and `UserDetail` views into a single `UserViewSet`. We can remove the two views, and replace then with a single class: First of all let's refactor our `UserList` and `UserDetail` views into a single `UserViewSet`. We can remove the two views, and replace them with a single class:
from rest_framework import viewsets from rest_framework import viewsets
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment