Skip to content

Commit a81e60f

Browse files
Version 3.7.4 Release (#5650)
* Update version for 3.7.4 Release * Add release notes to 01587b9 * Django 2.0 is now final. * Add trove classifer for Django 2.0 * Finalise release notes for v3.7.4 * Set release date: December 20, 2017 * Update Transifex * Add release note for #5691 * Move Issue links to bottom
1 parent 6de12e5 commit a81e60f

File tree

8 files changed

+134
-38
lines changed

8 files changed

+134
-38
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ There is a live example API for testing purposes, [available here][sandbox].
5353
# Requirements
5454

5555
* Python (2.7, 3.4, 3.5, 3.6)
56-
* Django (1.10, 1.11, 2.0rc1)
56+
* Django (1.10, 1.11, 2.0)
5757

5858
# Installation
5959

Diff for: docs/topics/release-notes.md

+99-6
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ You can determine your currently installed version using `pip freeze`:
4242

4343
### 3.7.4
4444

45-
**Date**: UNRELEASED
45+
**Date**: [20th December 2017][3.7.4-milestone]
4646

47-
* Extract method for `manual_fields` processing [#5633][gh5633]
47+
* Schema: Extract method for `manual_fields` processing [#5633][gh5633]
4848

4949
Allows for easier customisation of `manual_fields` processing, for example
5050
to provide per-method manual fields. `AutoSchema` adds `get_manual_fields`,
@@ -54,10 +54,51 @@ You can determine your currently installed version using `pip freeze`:
5454

5555
Note: `AutoSchema.__init__` now ensures `manual_fields` is a list.
5656
Previously may have been stored internally as `None`.
57-
58-
59-
[gh5633]: https://github.com/encode/django-rest-framework/issues/5633
60-
57+
* Remove ulrparse compatability shim; use six instead [#5579][gh5579]
58+
* Drop compat wrapper for `TimeDelta.total_seconds()` [#5577][gh5577]
59+
* Clean up all whitespace throughout project [#5578][gh5578]
60+
* Compat cleanup [#5581][gh5581]
61+
* Add pygments CSS block in browsable API views [#5584][gh5584] [#5587][gh5587]
62+
* Remove `set_rollback()` from compat [#5591][gh5591]
63+
* Fix request body/POST access [#5590][gh5590]
64+
* Rename test to reference correct issue [#5610][gh5610]
65+
* Documentation Fixes [#5611][gh5611] [#5612][gh5612]
66+
* Remove references to unsupported Django versions in docs and code [#5602][gh5602]
67+
* Test Serializer exclude for declared fields [#5599][gh5599]
68+
* Fixed schema generation for filter backends [#5613][gh5613]
69+
* Minor cleanup for ModelSerializer tests [#5598][gh5598]
70+
* Reimplement request attribute access w/ `__getattr__` [#5617][gh5617]
71+
* Fixed SchemaJSRenderer renders invalid Javascript [#5607][gh5607]
72+
* Make Django 2.0 support official/explicit [#5619][gh5619]
73+
* Perform type check on passed request argument [#5618][gh5618]
74+
* Fix AttributeError hiding on request authenticators [#5600][gh5600]
75+
* Update test requirements [#5626][gh5626]
76+
* Docs: `Serializer._declared_fields` enable modifying fields on a serializer [#5629][gh5629]
77+
* Fix packaging [#5624][gh5624]
78+
* Fix readme rendering for PyPI, add readme build to CI [#5625][gh5625]
79+
* Update tutorial [#5622][gh5622]
80+
* Non-required fields with `allow_null=True` should not imply a default value [#5639][gh5639]
81+
* Docs: Add `allow_null` serialization output note [#5641][gh5641]
82+
* Update to use the Django 2.0 release in tox.ini [#5645][gh5645]
83+
* Fix `Serializer.data` for Browsable API rendering when provided invalid `data` [#5646][gh5646]
84+
* Docs: Note AutoSchema limitations on bare APIView [#5649][gh5649]
85+
* Add `.basename` and `.reverse_action()` to ViewSet [#5648][gh5648]
86+
* Docs: Fix typos in serializers documentation [#5652][gh5652]
87+
* Fix `override_settings` compat [#5668][gh5668]
88+
* Add DEFAULT_SCHEMA_CLASS setting [#5658][gh5658]
89+
* Add docs note re generated BooleanField being `required=False` [#5665][gh5665]
90+
* Add 'dist' build [#5656][gh5656]
91+
* Fix typo in docstring [#5678][gh5678]
92+
* Docs: Add `UNAUTHENTICATED_USER = None` note [#5679][gh5679]
93+
* Update OPTIONS example from “Documenting Your API” [#5680][gh5680]
94+
* Docs: Add note on object permissions for FBVs [#5681][gh5681]
95+
* Docs: Add example to `to_representation` docs [#5682][gh5682]
96+
* Add link to Classy DRF in docs [#5683][gh5683]
97+
* Document ViewSet.action [#5685][gh5685]
98+
* Fix schema docs typo [#5687][gh5687]
99+
* Fix URL pattern parsing in schema generation [#5689][gh5689]
100+
* Add example using `source=‘*’` to custom field docs. [#5688][gh5688]
101+
* Fix format_suffix_patterns behavior with Django 2 path() routes [#5691][gh5691]
61102

62103

63104
### 3.7.3
@@ -882,6 +923,7 @@ For older release notes, [please see the version 2.x documentation][old-release-
882923
[3.7.1-milestone]: https://github.com/encode/django-rest-framework/milestone/58?closed=1
883924
[3.7.2-milestone]: https://github.com/encode/django-rest-framework/milestone/59?closed=1
884925
[3.7.3-milestone]: https://github.com/encode/django-rest-framework/milestone/60?closed=1
926+
[3.7.4-milestone]: https://github.com/encode/django-rest-framework/milestone/62?closed=1
885927

886928

887929
<!-- 3.0.1 -->
@@ -1640,3 +1682,54 @@ For older release notes, [please see the version 2.x documentation][old-release-
16401682

16411683
<!-- 3.7.3 -->
16421684
[gh5567]: https://github.com/encode/django-rest-framework/issues/5567
1685+
1686+
<!-- 3.7.4 -->
1687+
[gh5691]: https://github.com/encode/django-rest-framework/issues/5691
1688+
[gh5688]: https://github.com/encode/django-rest-framework/issues/5688
1689+
[gh5689]: https://github.com/encode/django-rest-framework/issues/5689
1690+
[gh5687]: https://github.com/encode/django-rest-framework/issues/5687
1691+
[gh5685]: https://github.com/encode/django-rest-framework/issues/5685
1692+
[gh5683]: https://github.com/encode/django-rest-framework/issues/5683
1693+
[gh5682]: https://github.com/encode/django-rest-framework/issues/5682
1694+
[gh5681]: https://github.com/encode/django-rest-framework/issues/5681
1695+
[gh5680]: https://github.com/encode/django-rest-framework/issues/5680
1696+
[gh5679]: https://github.com/encode/django-rest-framework/issues/5679
1697+
[gh5678]: https://github.com/encode/django-rest-framework/issues/5678
1698+
[gh5656]: https://github.com/encode/django-rest-framework/issues/5656
1699+
[gh5665]: https://github.com/encode/django-rest-framework/issues/5665
1700+
[gh5658]: https://github.com/encode/django-rest-framework/issues/5658
1701+
[gh5668]: https://github.com/encode/django-rest-framework/issues/5668
1702+
[gh5652]: https://github.com/encode/django-rest-framework/issues/5652
1703+
[gh5648]: https://github.com/encode/django-rest-framework/issues/5648
1704+
[gh5649]: https://github.com/encode/django-rest-framework/issues/5649
1705+
[gh5646]: https://github.com/encode/django-rest-framework/issues/5646
1706+
[gh5645]: https://github.com/encode/django-rest-framework/issues/5645
1707+
[gh5641]: https://github.com/encode/django-rest-framework/issues/5641
1708+
[gh5639]: https://github.com/encode/django-rest-framework/issues/5639
1709+
[gh5622]: https://github.com/encode/django-rest-framework/issues/5622
1710+
[gh5625]: https://github.com/encode/django-rest-framework/issues/5625
1711+
[gh5624]: https://github.com/encode/django-rest-framework/issues/5624
1712+
[gh5629]: https://github.com/encode/django-rest-framework/issues/5629
1713+
[gh5626]: https://github.com/encode/django-rest-framework/issues/5626
1714+
[gh5600]: https://github.com/encode/django-rest-framework/issues/5600
1715+
[gh5618]: https://github.com/encode/django-rest-framework/issues/5618
1716+
[gh5619]: https://github.com/encode/django-rest-framework/issues/5619
1717+
[gh5607]: https://github.com/encode/django-rest-framework/issues/5607
1718+
[gh5617]: https://github.com/encode/django-rest-framework/issues/5617
1719+
[gh5598]: https://github.com/encode/django-rest-framework/issues/5598
1720+
[gh5613]: https://github.com/encode/django-rest-framework/issues/5613
1721+
[gh5599]: https://github.com/encode/django-rest-framework/issues/5599
1722+
[gh5602]: https://github.com/encode/django-rest-framework/issues/5602
1723+
[gh5612]: https://github.com/encode/django-rest-framework/issues/5612
1724+
[gh5611]: https://github.com/encode/django-rest-framework/issues/5611
1725+
[gh5610]: https://github.com/encode/django-rest-framework/issues/5610
1726+
[gh5590]: https://github.com/encode/django-rest-framework/issues/5590
1727+
[gh5591]: https://github.com/encode/django-rest-framework/issues/5591
1728+
[gh5587]: https://github.com/encode/django-rest-framework/issues/5587
1729+
[gh5584]: https://github.com/encode/django-rest-framework/issues/5584
1730+
[gh5581]: https://github.com/encode/django-rest-framework/issues/5581
1731+
[gh5578]: https://github.com/encode/django-rest-framework/issues/5578
1732+
[gh5577]: https://github.com/encode/django-rest-framework/issues/5577
1733+
[gh5579]: https://github.com/encode/django-rest-framework/issues/5579
1734+
[gh5633]: https://github.com/encode/django-rest-framework/issues/5633
1735+

Diff for: rest_framework/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010
__title__ = 'Django REST framework'
11-
__version__ = '3.7.3'
11+
__version__ = '3.7.4'
1212
__author__ = 'Tom Christie'
1313
__license__ = 'BSD 2-Clause'
1414
__copyright__ = 'Copyright 2011-2017 Tom Christie'

Diff for: rest_framework/locale/nb/LC_MESSAGES/django.mo

555 Bytes
Binary file not shown.

Diff for: rest_framework/locale/nb/LC_MESSAGES/django.po

+17-16
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
#
55
# Translators:
6+
# Håken Lid <[email protected]>, 2017
67
# Petter Kjelkenes <[email protected]>, 2015
78
# Thomas Bruun <[email protected]>, 2017
89
msgid ""
910
msgstr ""
1011
"Project-Id-Version: Django REST framework\n"
1112
"Report-Msgid-Bugs-To: \n"
1213
"POT-Creation-Date: 2016-07-12 16:13+0100\n"
13-
"PO-Revision-Date: 2017-11-01 09:58+0000\n"
14-
"Last-Translator: Thomas Bruun <thomas.bruun@gmail.com>\n"
14+
"PO-Revision-Date: 2017-11-28 15:25+0000\n"
15+
"Last-Translator: Håken Lid <haakenlid@gmail.com>\n"
1516
"Language-Team: Norwegian Bokmål (http://www.transifex.com/django-rest-framework-1/django-rest-framework/language/nb/)\n"
1617
"MIME-Version: 1.0\n"
1718
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,7 +26,7 @@ msgstr "Ugyldig basic header. Ingen legitimasjon gitt."
2526

2627
#: authentication.py:76
2728
msgid "Invalid basic header. Credentials string should not contain spaces."
28-
msgstr "Ugylid basic header. Legitimasjonsstreng bør ikke inneholde mellomrom."
29+
msgstr "Ugyldig basic header. Legitimasjonsstreng bør ikke inneholde mellomrom."
2930

3031
#: authentication.py:82
3132
msgid "Invalid basic header. Credentials not correctly base64 encoded."
@@ -58,35 +59,35 @@ msgstr "Ugyldig token."
5859

5960
#: authtoken/apps.py:7
6061
msgid "Auth Token"
61-
msgstr ""
62+
msgstr "Auth Token"
6263

6364
#: authtoken/models.py:15
6465
msgid "Key"
65-
msgstr ""
66+
msgstr "Nøkkel"
6667

6768
#: authtoken/models.py:18
6869
msgid "User"
69-
msgstr ""
70+
msgstr "Bruker"
7071

7172
#: authtoken/models.py:20
7273
msgid "Created"
73-
msgstr ""
74+
msgstr "Opprettet"
7475

7576
#: authtoken/models.py:29
7677
msgid "Token"
77-
msgstr ""
78+
msgstr "Token"
7879

7980
#: authtoken/models.py:30
8081
msgid "Tokens"
81-
msgstr ""
82+
msgstr "Tokener"
8283

8384
#: authtoken/serializers.py:8
8485
msgid "Username"
85-
msgstr ""
86+
msgstr "Brukernavn"
8687

8788
#: authtoken/serializers.py:9
8889
msgid "Password"
89-
msgstr ""
90+
msgstr "Passord"
9091

9192
#: authtoken/serializers.py:20
9293
msgid "User account is disabled."
@@ -98,7 +99,7 @@ msgstr "Kan ikke logge inn med gitt legitimasjon."
9899

99100
#: authtoken/serializers.py:26
100101
msgid "Must include \"username\" and \"password\"."
101-
msgstr "Må inkludere \"username\" og \"password\"."
102+
msgstr "Må inneholde \"username\" og \"password\"."
102103

103104
#: exceptions.py:49
104105
msgid "A server error occurred."
@@ -316,15 +317,15 @@ msgstr "Send inn"
316317

317318
#: filters.py:336
318319
msgid "ascending"
319-
msgstr ""
320+
msgstr "stigende"
320321

321322
#: filters.py:337
322323
msgid "descending"
323-
msgstr ""
324+
msgstr "synkende"
324325

325326
#: pagination.py:193
326327
msgid "Invalid page."
327-
msgstr ""
328+
msgstr "Ugyldig side"
328329

329330
#: pagination.py:427
330331
msgid "Invalid cursor"
@@ -426,7 +427,7 @@ msgstr "Ugyldig versjon i URL-banen."
426427

427428
#: versioning.py:115
428429
msgid "Invalid version in URL path. Does not match any version namespace."
429-
msgstr ""
430+
msgstr "Ugyldig versjon i URL. Passer ikke med noen eksisterende versjon."
430431

431432
#: versioning.py:147
432433
msgid "Invalid version in hostname."

Diff for: rest_framework/locale/pt_BR/LC_MESSAGES/django.mo

607 Bytes
Binary file not shown.

Diff for: rest_framework/locale/pt_BR/LC_MESSAGES/django.po

+15-14
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
# Ederson Mota Pereira <[email protected]>, 2015
88
# Filipe Rinaldi <[email protected]>, 2015
99
# Hugo Leonardo Chalhoub Mendonça <[email protected]>, 2015
10+
# Jonatas Baldin <[email protected]>, 2017
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Django REST framework\n"
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2016-07-12 16:13+0100\n"
15-
"PO-Revision-Date: 2017-08-03 14:58+0000\n"
16-
"Last-Translator: Thomas Christie <tom@tomchristie.com>\n"
16+
"PO-Revision-Date: 2017-12-06 09:53+0000\n"
17+
"Last-Translator: Jonatas Baldin <jonatas.baldin@gmail.com>\n"
1718
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/django-rest-framework-1/django-rest-framework/language/pt_BR/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -60,35 +61,35 @@ msgstr "Token inválido."
6061

6162
#: authtoken/apps.py:7
6263
msgid "Auth Token"
63-
msgstr ""
64+
msgstr "Token de autenticação"
6465

6566
#: authtoken/models.py:15
6667
msgid "Key"
67-
msgstr ""
68+
msgstr "Chave"
6869

6970
#: authtoken/models.py:18
7071
msgid "User"
71-
msgstr ""
72+
msgstr "Usuário"
7273

7374
#: authtoken/models.py:20
7475
msgid "Created"
75-
msgstr ""
76+
msgstr "Criado"
7677

7778
#: authtoken/models.py:29
7879
msgid "Token"
79-
msgstr ""
80+
msgstr "Token"
8081

8182
#: authtoken/models.py:30
8283
msgid "Tokens"
83-
msgstr ""
84+
msgstr "Tokens"
8485

8586
#: authtoken/serializers.py:8
8687
msgid "Username"
87-
msgstr ""
88+
msgstr "Nome do usuário"
8889

8990
#: authtoken/serializers.py:9
9091
msgid "Password"
91-
msgstr ""
92+
msgstr "Senha"
9293

9394
#: authtoken/serializers.py:20
9495
msgid "User account is disabled."
@@ -318,15 +319,15 @@ msgstr "Enviar"
318319

319320
#: filters.py:336
320321
msgid "ascending"
321-
msgstr ""
322+
msgstr "ascendente"
322323

323324
#: filters.py:337
324325
msgid "descending"
325-
msgstr ""
326+
msgstr "descendente"
326327

327328
#: pagination.py:193
328329
msgid "Invalid page."
329-
msgstr ""
330+
msgstr "Página inválida."
330331

331332
#: pagination.py:427
332333
msgid "Invalid cursor"
@@ -428,7 +429,7 @@ msgstr "Versão inválida no caminho de URL."
428429

429430
#: versioning.py:115
430431
msgid "Invalid version in URL path. Does not match any version namespace."
431-
msgstr ""
432+
msgstr "Versão inválida no caminho da URL. Não corresponde a nenhuma versão do namespace."
432433

433434
#: versioning.py:147
434435
msgid "Invalid version in hostname."

Diff for: setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def get_version(package):
6969
'Framework :: Django',
7070
'Framework :: Django :: 1.10',
7171
'Framework :: Django :: 1.11',
72+
'Framework :: Django :: 2.0',
7273
'Intended Audience :: Developers',
7374
'License :: OSI Approved :: BSD License',
7475
'Operating System :: OS Independent',

0 commit comments

Comments
 (0)