Skip to content

Commit 8e549a7

Browse files
committed
Add 2.x notes and links
1 parent a741418 commit 8e549a7

File tree

8 files changed

+43
-1
lines changed

8 files changed

+43
-1
lines changed

docs/api-guide/fields.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
source: fields.py
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Serializer fields
410

511
> Each field in a Form class is responsible not only for validating data, but also for "cleaning" it — normalizing it to a consistent format.

docs/api-guide/generic-views.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
source: mixins.py
22
generics.py
33

4+
---
5+
6+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
7+
8+
---
9+
410
# Generic views
511

612
> Django’s generic views... were developed as a shortcut for common usage patterns... They take certain common idioms and patterns found in view development and abstract them so that you can quickly write common views of data without having to repeat yourself.

docs/api-guide/metadata.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<a class="github" href="metadata.py"></a>
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Metadata
410

511
> [The `OPTIONS`] method allows a client to determine the options and/or requirements associated with a resource, or the capabilities of a server, without implying a resource action or initiating a resource retrieval.

docs/api-guide/relations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
source: relations.py
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Serializer relations
410

511
> Bad programmers worry about the code.

docs/api-guide/requests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
source: request.py
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Requests
410

511
> If you're doing REST-based web service stuff ... you should ignore request.POST.

docs/api-guide/serializers.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
source: serializers.py
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Serializers
410

511
> Expanding the usefulness of the serializers is something that we would

docs/api-guide/validators.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<a class="github" href="validators.py"></a>
22

3+
---
4+
5+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
6+
7+
---
8+
39
# Validators
410

511
> Validators can be useful for re-using validation logic between different types of fields.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
---
1111

12-
**Note**: The incoming 3.0 version has now been merged to the `master` branch on GitHub. For the source of the currently available PyPI version, please see the `2.4.4` tag.
12+
**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
1313

1414
---
1515

0 commit comments

Comments
 (0)