diff options
| author | Carlton Gibson | 2013-10-29 13:31:13 -0700 |
|---|---|---|
| committer | Carlton Gibson | 2013-10-29 13:31:13 -0700 |
| commit | 7ef83cf020b7f5e80e0bead31e72541bf720fc7f (patch) | |
| tree | 586d6b4a4f67a981a62cf1a8c7d1775daa5868a4 | |
| parent | 57c41b949d7afa65e8d396fb100722fa626e4b2a (diff) | |
| parent | 458af921f36cec48ff6c27f4824d69f1aafcd18e (diff) | |
| download | django-rest-framework-7ef83cf020b7f5e80e0bead31e72541bf720fc7f.tar.bz2 | |
Merge pull request #1206 from sheppard/patch-1
Great. Thanks!
| -rw-r--r-- | rest_framework/viewsets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/viewsets.py b/rest_framework/viewsets.py index d91323f2..7eb29f99 100644 --- a/rest_framework/viewsets.py +++ b/rest_framework/viewsets.py @@ -9,7 +9,7 @@ Actions are only bound to methods at the point of instantiating the views. user_detail = UserViewSet.as_view({'get': 'retrieve'}) Typically, rather than instantiate views from viewsets directly, you'll -regsiter the viewset with a router and let the URL conf be determined +register the viewset with a router and let the URL conf be determined automatically. router = DefaultRouter() |
