Commit 02b7196a by Tom Christie

Merge pull request #381 from minddust/master

fixed typo in html status code
parents a49285fe e02a8470
...@@ -190,7 +190,7 @@ As an example, let's create a field that can be used represent the class name of ...@@ -190,7 +190,7 @@ As an example, let's create a field that can be used represent the class name of
# ModelSerializers # ModelSerializers
Often you'll want serializer classes that map closely to model definitions. Often you'll want serializer classes that map closely to model definitions.
The `ModelSerializer` class lets you automatically create a Serializer class with fields that corrospond to the Model fields. The `ModelSerializer` class lets you automatically create a Serializer class with fields that correspond to the Model fields.
class AccountSerializer(serializers.ModelSerializer): class AccountSerializer(serializers.ModelSerializer):
class Meta: class Meta:
......
...@@ -87,7 +87,7 @@ Response status codes beginning with the digit "5" indicate cases in which the s ...@@ -87,7 +87,7 @@ Response status codes beginning with the digit "5" indicate cases in which the s
HTTP_503_SERVICE_UNAVAILABLE HTTP_503_SERVICE_UNAVAILABLE
HTTP_504_GATEWAY_TIMEOUT HTTP_504_GATEWAY_TIMEOUT
HTTP_505_HTTP_VERSION_NOT_SUPPORTED HTTP_505_HTTP_VERSION_NOT_SUPPORTED
HTTP_511_NETWORD_AUTHENTICATION_REQUIRED HTTP_511_NETWORK_AUTHENTICATION_REQUIRED
[rfc2324]: http://www.ietf.org/rfc/rfc2324.txt [rfc2324]: http://www.ietf.org/rfc/rfc2324.txt
......
...@@ -49,4 +49,4 @@ HTTP_502_BAD_GATEWAY = 502 ...@@ -49,4 +49,4 @@ HTTP_502_BAD_GATEWAY = 502
HTTP_503_SERVICE_UNAVAILABLE = 503 HTTP_503_SERVICE_UNAVAILABLE = 503
HTTP_504_GATEWAY_TIMEOUT = 504 HTTP_504_GATEWAY_TIMEOUT = 504
HTTP_505_HTTP_VERSION_NOT_SUPPORTED = 505 HTTP_505_HTTP_VERSION_NOT_SUPPORTED = 505
HTTP_511_NETWORD_AUTHENTICATION_REQUIRED = 511 HTTP_511_NETWORK_AUTHENTICATION_REQUIRED = 511
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