Skip to content

Commit 247696e

Browse files
committed
Links to source files in docs
1 parent 5d9dfcd commit 247696e

15 files changed

+38
-2
lines changed

docs/api-guide/authentication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="authentication.py"></a>
2+
13
# Authentication
24

35
Authentication is the mechanism of associating an incoming request with a set of identifying credentials, such as the user the request came from, or the token that it was signed with. The [permission] and [throttling] policies can then use those credentials to determine if the request should be permitted.

docs/api-guide/exceptions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="exceptions.py"></a>
2+
13
# Exceptions
24

35

docs/api-guide/parsers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="parsers.py"></a>
2+
13
# Parsers
24

35
## .parse(request)

docs/api-guide/permissions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
<a class="github" href="permissions.py"></a>
12

3+
# Permissions

docs/api-guide/renderers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="renderers.py"></a>
2+
13
# Renderers
24

35
## .render(response)

docs/api-guide/requests.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="request.py"></a>
2+
13
# Requests
24

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

docs/api-guide/responses.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="response.py"></a>
2+
13
# Responses
24

35
> Unlike basic HttpResponse objects, TemplateResponse objects retain the details of the context that was provided by the view to compute the response. The final output of the response is not computed until it is needed, later in the response process.

docs/api-guide/reverse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="reverse.py"></a>
2+
13
# Returning URIs from your Web APIs
24

35
> The central feature that distinguishes the REST architectural style from other network-based styles is its emphasis on a uniform interface between components.

docs/api-guide/serializers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="serializers.py"></a>
2+
13
# Serializers
24

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

docs/api-guide/settings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a class="github" href="settings.py"></a>
2+
13
# Settings
24

35
Configuration for REST framework is all namespaced inside the `API_SETTINGS` setting.

0 commit comments

Comments
 (0)