From 8eb405f4b25c0aae676b1237dbb004add8507b8b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 13 Oct 2012 15:13:18 +0100 Subject: [PATCH] Fix typo --- api-guide/requests.html | 4 ++-- tutorial/quickstart.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-guide/requests.html b/api-guide/requests.html index 62adc621d..df81f0129 100644 --- a/api-guide/requests.html +++ b/api-guide/requests.html @@ -122,7 +122,7 @@
  • .user
  • .auth
  • .authenticators
  • -
  • Browser enhancments
  • +
  • Browser enhancements
  • .method
  • .content_type
  • .stream
  • @@ -180,7 +180,7 @@

    The APIView class or @api_view decorator will ensure that this property is automatically to a list of Authentication instances, based on the authentication_classes set on the view or based on the DEFAULT_AUTHENTICATORS setting.

    You won't typically need to access this property.


    -

    Browser enhancments

    +

    Browser enhancements

    REST framework supports a few browser enhancments such as broser-based PUT and DELETE forms.

    .method

    request.method returns the uppercased string representation of the request's HTTP method.

    diff --git a/tutorial/quickstart.html b/tutorial/quickstart.html index 1d2c5a432..25ebc8ab1 100644 --- a/tutorial/quickstart.html +++ b/tutorial/quickstart.html @@ -144,7 +144,7 @@ class GroupSerializer(serializers.HyperlinkedModelSerializer):

    Notice that we're using hyperlinked relations in this case, with HyperlinkedModelSerializer. You can also use primary key and various other relationships, but hyperlinking is good RESTful design.

    Views

    -

    Right, we'd better right some views then. Open quickstart/views.py and get typing.

    +

    Right, we'd better write some views then. Open quickstart/views.py and get typing.

    from django.contrib.auth.models import User, Group
     from rest_framework import generics
     from rest_framework.decorators import api_view