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
5f386f58
Commit
5f386f58
authored
May 12, 2017
by
Tom Christie
Committed by
GitHub
May 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5133 from encode/version-3-6-3
Version 3.6.3
parents
a251b937
a99f12f1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
13 deletions
+115
-13
docs/topics/release-notes.md
+100
-0
rest_framework/__init__.py
+1
-1
rest_framework/static/rest_framework/docs/js/api.js
+13
-11
rest_framework/templates/rest_framework/docs/index.html
+1
-1
No files found.
docs/topics/release-notes.md
View file @
5f386f58
...
@@ -40,6 +40,33 @@ You can determine your currently installed version using `pip freeze`:
...
@@ -40,6 +40,33 @@ You can determine your currently installed version using `pip freeze`:
## 3.6.x series
## 3.6.x series
### 3.6.3
*
*Date
**
:
[
12th May 2017
][
3.6.3-milestone
]
*
Raise 404 if a URL lookup results in ValidationError. ([#5126][gh5126])
*
Honor http_method_names on class based view, when generating API schemas. ([#5085][gh5085])
*
Allow overridden `get_limit` in LimitOffsetPagination to return all records. ([#4437][gh4437])
*
Fix partial update for the ListSerializer. ([#4222][gh4222])
*
Render JSONField control correctly in browsable API. ([#4999][gh4999], [#5042][gh5042])
*
Raise validation errors for invalid datetime in given timezone. ([#4987][gh4987])
*
Support restricting doc & schema shortcuts to a subset of urls. ([#4979][gh4979])
*
Resolve SchemaGenerator error with paginators that have no `page_size` attribute. ([#5086][gh5086], [#3692][gh3692])
*
Resolve HyperlinkedRelatedField exception on string with %20 instead of space. ([#4748][gh4748], [#5078][gh5078])
*
Customizable schema generator classes. ([#5082][gh5082])
*
Update existing vary headers in response instead of overwriting them. ([#5047][gh5047])
*
Support passing `.as_view()` to view instance. ([#5053][gh5053])
*
Use correct exception handler when settings overridden on a view. ([#5055][gh5055], [#5054][gh5054])
*
Update Boolean field to support 'yes' and 'no' values. ([#5038][gh5038])
*
Fix unique validator for ChoiceField. ([#5004][gh5004], [#5026][gh5026], [#5028][gh5028])
*
JavaScript cleanups in API Docs. ([#5001][gh5001])
*
Include URL path regexs in API schemas where valid. ([#5014][gh5014])
*
Correctly set scheme in coreapi TokenAuthentication. ([#5000][gh5000], [#4994][gh4994])
*
HEAD requests on ViewSets should not return 405. ([#4705][gh4705], [#4973][gh4973], [#4864][gh4864])
*
Support usage of 'source' in `extra_kwargs`. ([#4688][gh4688])
*
Fix invalid content type for schema.js ([#4968][gh4968])
*
Fix DjangoFilterBackend inheritance issues. ([#5089][gh5089], [#5117][gh5117])
### 3.6.2
### 3.6.2
*
*Date
**
:
[
10th March 2017
][
3.6.2-milestone
]
*
*Date
**
:
[
10th March 2017
][
3.6.2-milestone
]
...
@@ -653,6 +680,44 @@ For older release notes, [please see the version 2.x documentation][old-release-
...
@@ -653,6 +680,44 @@ For older release notes, [please see the version 2.x documentation][old-release-
[
old-release-notes
]:
https://github.com/encode/django-rest-framework/blob/version-2.4.x/docs/topics/release-notes.md
[
old-release-notes
]:
https://github.com/encode/django-rest-framework/blob/version-2.4.x/docs/topics/release-notes.md
[
3.6-release
]:
3.6-announcement.md
[
3.6-release
]:
3.6-announcement.md
<<<<<<< HEAD
[
3.0.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.1+Release%22
[
3.0.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.2+Release%22
[
3.0.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.3+Release%22
[
3.0.4-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.4+Release%22
[
3.0.5-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.5+Release%22
[
3.1.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.0+Release%22
[
3.1.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.1+Release%22
[
3.1.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.2+Release%22
[
3.1.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.3+Release%22
[
3.2.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.0+Release%22
[
3.2.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.1+Release%22
[
3.2.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.2+Release%22
[
3.2.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.3+Release%22
[
3.2.4-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.4+Release%22
[
3.2.5-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.2.5+Release%22
[
3.3.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.3.0+Release%22
[
3.3.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.3.1+Release%22
[
3.3.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.3.2+Release%22
[
3.3.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.3.3+Release%22
[
3.4.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.0+Release%22
[
3.4.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.1+Release%22
[
3.4.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.2+Release%22
[
3.4.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.3+Release%22
[
3.4.4-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.4+Release%22
[
3.4.5-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.5+Release%22
[
3.4.6-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.6+Release%22
[
3.4.7-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.4.7+Release%22
[
3.5.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.5.0+Release%22
[
3.5.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.5.1+Release%22
[
3.5.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.5.2+Release%22
[
3.5.3-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.5.3+Release%22
[
3.5.4-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.5.4+Release%22
[
3.6.0-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.6.0+Release%22
[
3.6.1-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.6.1+Release%22
[
3.6.2-milestone
]:
https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.6.2+Release%22
[3.6.3-milestone]: https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.6.3+Release%22
=======
[
3.0.1-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.1+Release%22
[
3.0.1-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.1+Release%22
[
3.0.2-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.2+Release%22
[
3.0.2-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.2+Release%22
[
3.0.3-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.3+Release%22
[
3.0.3-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.3+Release%22
...
@@ -688,6 +753,7 @@ For older release notes, [please see the version 2.x documentation][old-release-
...
@@ -688,6 +753,7 @@ For older release notes, [please see the version 2.x documentation][old-release-
[
3.6.0-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.0+Release%22
[
3.6.0-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.0+Release%22
[
3.6.1-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.1+Release%22
[
3.6.1-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.1+Release%22
[
3.6.2-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.2+Release%22
[
3.6.2-milestone
]:
https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.2+Release%22
>>>>>>> master
<!-- 3.0.1 -->
<!-- 3.0.1 -->
[
gh2013
]:
https://github.com/encode/django-rest-framework/issues/2013
[
gh2013
]:
https://github.com/encode/django-rest-framework/issues/2013
...
@@ -1298,3 +1364,37 @@ For older release notes, [please see the version 2.x documentation][old-release-
...
@@ -1298,3 +1364,37 @@ For older release notes, [please see the version 2.x documentation][old-release-
[
gh4955
]:
https://github.com/encode/django-rest-framework/issues/4955
[
gh4955
]:
https://github.com/encode/django-rest-framework/issues/4955
[
gh4956
]:
https://github.com/encode/django-rest-framework/issues/4956
[
gh4956
]:
https://github.com/encode/django-rest-framework/issues/4956
[
gh4949
]:
https://github.com/encode/django-rest-framework/issues/4949
[
gh4949
]:
https://github.com/encode/django-rest-framework/issues/4949
<!-- 3.6.3 -->
[
gh5126
]:
https://github.com/encode/django-rest-framework/issues/5126
[
gh5085
]:
https://github.com/encode/django-rest-framework/issues/5085
[
gh4437
]:
https://github.com/encode/django-rest-framework/issues/4437
[
gh4222
]:
https://github.com/encode/django-rest-framework/issues/4222
[
gh4999
]:
https://github.com/encode/django-rest-framework/issues/4999
[
gh5042
]:
https://github.com/encode/django-rest-framework/issues/5042
[
gh4987
]:
https://github.com/encode/django-rest-framework/issues/4987
[
gh4979
]:
https://github.com/encode/django-rest-framework/issues/4979
[
gh5086
]:
https://github.com/encode/django-rest-framework/issues/5086
[
gh3692
]:
https://github.com/encode/django-rest-framework/issues/3692
[
gh4748
]:
https://github.com/encode/django-rest-framework/issues/4748
[
gh5078
]:
https://github.com/encode/django-rest-framework/issues/5078
[
gh5082
]:
https://github.com/encode/django-rest-framework/issues/5082
[
gh5047
]:
https://github.com/encode/django-rest-framework/issues/5047
[
gh5053
]:
https://github.com/encode/django-rest-framework/issues/5053
[
gh5055
]:
https://github.com/encode/django-rest-framework/issues/5055
[
gh5054
]:
https://github.com/encode/django-rest-framework/issues/5054
[
gh5038
]:
https://github.com/encode/django-rest-framework/issues/5038
[
gh5004
]:
https://github.com/encode/django-rest-framework/issues/5004
[
gh5026
]:
https://github.com/encode/django-rest-framework/issues/5026
[
gh5028
]:
https://github.com/encode/django-rest-framework/issues/5028
[
gh5001
]:
https://github.com/encode/django-rest-framework/issues/5001
[
gh5014
]:
https://github.com/encode/django-rest-framework/issues/5014
[
gh5000
]:
https://github.com/encode/django-rest-framework/issues/5000
[
gh4994
]:
https://github.com/encode/django-rest-framework/issues/4994
[
gh4705
]:
https://github.com/encode/django-rest-framework/issues/4705
[
gh4973
]:
https://github.com/encode/django-rest-framework/issues/4973
[
gh4864
]:
https://github.com/encode/django-rest-framework/issues/4864
[
gh4688
]:
https://github.com/encode/django-rest-framework/issues/4688
[
gh4968
]:
https://github.com/encode/django-rest-framework/issues/4968
[
gh5089
]:
https://github.com/encode/django-rest-framework/issues/5089
[
gh5117
]:
https://github.com/encode/django-rest-framework/issues/5117
rest_framework/__init__.py
View file @
5f386f58
...
@@ -8,7 +8,7 @@ ______ _____ _____ _____ __
...
@@ -8,7 +8,7 @@ ______ _____ _____ _____ __
"""
"""
__title__
=
'Django REST framework'
__title__
=
'Django REST framework'
__version__
=
'3.6.
2
'
__version__
=
'3.6.
3
'
__author__
=
'Tom Christie'
__author__
=
'Tom Christie'
__license__
=
'BSD 2-Clause'
__license__
=
'BSD 2-Clause'
__copyright__
=
'Copyright 2011-2017 Tom Christie'
__copyright__
=
'Copyright 2011-2017 Tom Christie'
...
...
rest_framework/static/rest_framework/docs/js/api.js
View file @
5f386f58
...
@@ -23,7 +23,7 @@ function formEntries (form) {
...
@@ -23,7 +23,7 @@ function formEntries (form) {
// Polyfill for new FormData(form).entries()
// Polyfill for new FormData(form).entries()
var
formData
=
new
FormData
(
form
)
var
formData
=
new
FormData
(
form
)
if
(
formData
.
entries
!==
undefined
)
{
if
(
formData
.
entries
!==
undefined
)
{
return
formData
.
entries
(
)
return
Array
.
from
(
formData
.
entries
()
)
}
}
var
entries
=
[]
var
entries
=
[]
...
@@ -59,6 +59,8 @@ $(function () {
...
@@ -59,6 +59,8 @@ $(function () {
var
$selectedAuthentication
=
$
(
'#selected-authentication'
)
var
$selectedAuthentication
=
$
(
'#selected-authentication'
)
var
$authControl
=
$
(
'#auth-control'
)
var
$authControl
=
$
(
'#auth-control'
)
var
$authTokenModal
=
$
(
'#auth_token_modal'
)
var
$authTokenModal
=
$
(
'#auth_token_modal'
)
var
$authBasicModal
=
$
(
'#auth_basic_modal'
)
var
$authSessionModal
=
$
(
'#auth_session_modal'
)
// Language Control
// Language Control
$
(
'#language-control li'
).
click
(
function
(
event
)
{
$
(
'#language-control li'
).
click
(
function
(
event
)
{
...
@@ -260,8 +262,8 @@ $(function () {
...
@@ -260,8 +262,8 @@ $(function () {
event
.
preventDefault
()
event
.
preventDefault
()
window
.
auth
=
null
window
.
auth
=
null
$selectedAuthentication
.
text
(
'none'
)
$selectedAuthentication
.
text
(
'none'
)
$authControl
.
children
(
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth]"
).
closest
(
'li'
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth='none']"
).
addClass
(
'active'
)
$authControl
.
find
(
"[data-auth='none']"
).
closest
(
'li'
).
addClass
(
'active'
)
})
})
// Authentication: token
// Authentication: token
...
@@ -276,8 +278,8 @@ $(function () {
...
@@ -276,8 +278,8 @@ $(function () {
'token'
:
token
'token'
:
token
}
}
$selectedAuthentication
.
text
(
'token'
)
$selectedAuthentication
.
text
(
'token'
)
$authControl
.
children
(
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth]"
).
closest
(
'li'
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth='token']"
).
addClass
(
'active'
)
$authControl
.
find
(
"[data-auth='token']"
).
closest
(
'li'
).
addClass
(
'active'
)
$authTokenModal
.
modal
(
'hide'
)
$authTokenModal
.
modal
(
'hide'
)
})
})
...
@@ -293,9 +295,9 @@ $(function () {
...
@@ -293,9 +295,9 @@ $(function () {
'password'
:
password
'password'
:
password
}
}
$selectedAuthentication
.
text
(
'basic'
)
$selectedAuthentication
.
text
(
'basic'
)
$authControl
.
children
(
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth]"
).
closest
(
'li'
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth='basic']"
).
addClass
(
'active'
)
$authControl
.
find
(
"[data-auth='basic']"
).
closest
(
'li'
).
addClass
(
'active'
)
$auth
Token
Modal
.
modal
(
'hide'
)
$auth
Basic
Modal
.
modal
(
'hide'
)
})
})
// Authentication: session
// Authentication: session
...
@@ -305,8 +307,8 @@ $(function () {
...
@@ -305,8 +307,8 @@ $(function () {
'type'
:
'session'
'type'
:
'session'
}
}
$selectedAuthentication
.
text
(
'session'
)
$selectedAuthentication
.
text
(
'session'
)
$authControl
.
children
(
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth]"
).
closest
(
'li'
).
removeClass
(
'active'
)
$authControl
.
find
(
"[data-auth='session']"
).
addClass
(
'active'
)
$authControl
.
find
(
"[data-auth='session']"
).
closest
(
'li'
).
addClass
(
'active'
)
$auth
Toke
nModal
.
modal
(
'hide'
)
$auth
Sessio
nModal
.
modal
(
'hide'
)
})
})
})
})
rest_framework/templates/rest_framework/docs/index.html
View file @
5f386f58
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
};
};
$
(
'#selected-authentication'
).
text
(
'session'
);
$
(
'#selected-authentication'
).
text
(
'session'
);
$
(
'#auth-control'
).
children
().
removeClass
(
'active'
);
$
(
'#auth-control'
).
children
().
removeClass
(
'active'
);
$
(
'#auth-control'
).
find
(
"[data-auth='session']"
).
addClass
(
'active'
);
$
(
'#auth-control'
).
find
(
"[data-auth='session']"
).
closest
(
'li'
).
addClass
(
'active'
);
{
%
endif
%
}
{
%
endif
%
}
</script>
</script>
</body>
</body>
...
...
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