Skip to content

Commit 3dbcefb

Browse files
committed
2 parents e61ef3d + c381412 commit 3dbcefb

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

docs/api-guide/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The value of `request.user` and `request.auth` for unauthenticated requests can
3434

3535
## Setting the authentication scheme
3636

37-
The default authentication schemes may be set globally, using the `DEFAULT_AUTHENTICATION` setting. For example.
37+
The default authentication schemes may be set globally, using the `DEFAULT_AUTHENTICATION_CLASSES` setting. For example.
3838

3939
REST_FRAMEWORK = {
4040
'DEFAULT_AUTHENTICATION_CLASSES': (
@@ -282,7 +282,7 @@ This authentication class depends on the optional [django-oauth2-provider][djang
282282
'provider.oauth2',
283283
)
284284

285-
Then add `OAuth2Authentication` to your global `DEFAULT_AUTHENTICATION` setting:
285+
Then add `OAuth2Authentication` to your global `DEFAULT_AUTHENTICATION_CLASSES` setting:
286286

287287
'DEFAULT_AUTHENTICATION_CLASSES': (
288288
'rest_framework.authentication.OAuth2Authentication',

docs/topics/project-management.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ The following template should be used for the description of the issue, and serv
5858
#### New members.
5959

6060
If you wish to be considered for this or a future date, please comment against this or subsequent issues.
61+
62+
To modify this process for future maintenance cycles make a pull request to the [project management](http://www.django-rest-framework.org/topics/project-management/) documentation.
6163

6264
#### Responsibilities of team members
6365

@@ -107,6 +109,8 @@ The following template should be used for the description of the issue, and serv
107109
- [ ] Make a release announcement on the [discussion group](https://groups.google.com/forum/?fromgroups#!forum/django-rest-framework).
108110
- [ ] Make a release announcement on twitter.
109111
- [ ] Close the milestone on GitHub.
112+
113+
To modify this process for future releases make a pull request to the [project management](http://www.django-rest-framework.org/topics/project-management/) documentation.
110114

111115
When pushing the release to PyPI ensure that your environment has been installed from our development `requirement.txt`, so that documentation and PyPI installs are consistently being built against a pinned set of packages.
112116

rest_framework/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def unicode_to_repr(value):
3636
# OrderedDict only available in Python 2.7.
3737
# This will always be the case in Django 1.7 and above, as these versions
3838
# no longer support Python 2.6.
39-
# For Django <= 1.6 and Python 2.6 fall back to OrderedDict.
39+
# For Django <= 1.6 and Python 2.6 fall back to SortedDict.
4040
try:
4141
from collections import OrderedDict
4242
except ImportError:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def get_package_data(package):
6767
packages=get_packages('rest_framework'),
6868
package_data=get_package_data('rest_framework'),
6969
install_requires=[],
70+
zip_safe=False,
7071
classifiers=[
7172
'Development Status :: 5 - Production/Stable',
7273
'Environment :: Web Environment',

0 commit comments

Comments
 (0)