Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
02b7196a
Commit
02b7196a
authored
Nov 06, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #381 from minddust/master
fixed typo in html status code
parents
a49285fe
e02a8470
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docs/api-guide/serializers.md
+1
-1
docs/api-guide/status-codes.md
+1
-1
rest_framework/status.py
+1
-1
No files found.
docs/api-guide/serializers.md
View file @
02b7196a
...
@@ -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 corr
o
spond to the Model fields.
The
`ModelSerializer`
class lets you automatically create a Serializer class with fields that corr
e
spond to the Model fields.
class AccountSerializer(serializers.ModelSerializer):
class AccountSerializer(serializers.ModelSerializer):
class Meta:
class Meta:
...
...
docs/api-guide/status-codes.md
View file @
02b7196a
...
@@ -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_NETWOR
D
_AUTHENTICATION_REQUIRED
HTTP_511_NETWOR
K
_AUTHENTICATION_REQUIRED
[
rfc2324
]:
http://www.ietf.org/rfc/rfc2324.txt
[
rfc2324
]:
http://www.ietf.org/rfc/rfc2324.txt
...
...
rest_framework/status.py
View file @
02b7196a
...
@@ -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_NETWOR
D
_AUTHENTICATION_REQUIRED
=
511
HTTP_511_NETWOR
K
_AUTHENTICATION_REQUIRED
=
511
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment