diff options
| author | Stephan Groß | 2013-05-28 17:13:12 +0200 | 
|---|---|---|
| committer | Stephan Groß | 2013-05-28 17:13:12 +0200 | 
| commit | 7a570e16e97a42d58855b5c06ea7b4d2cc0745e6 (patch) | |
| tree | 09c25da3773f9680ad35127bc9838e6701926a2f /docs/api-guide/permissions.md | |
| parent | d7bf02e09ea85778c0a3fad572ad33d637c0602f (diff) | |
| download | django-rest-framework-7a570e16e97a42d58855b5c06ea7b4d2cc0745e6.tar.bz2 | |
Fix md formatting and typos
Diffstat (limited to 'docs/api-guide/permissions.md')
| -rw-r--r-- | docs/api-guide/permissions.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/api-guide/permissions.md b/docs/api-guide/permissions.md index db0d4b26..2c0a055c 100644 --- a/docs/api-guide/permissions.md +++ b/docs/api-guide/permissions.md @@ -2,7 +2,7 @@  # Permissions -> Authentication or identification by itself is not usually sufficient to gain access to information or code. For that, the entity requesting access must have authorization. +> Authentication or identification by itself is not usually sufficient to gain access to information or code.  For that, the entity requesting access must have authorization.  >  > — [Apple Developer Documentation][cite] @@ -147,7 +147,7 @@ If you need to test if a request is a read operation or a write operation, you s  **Note**: In versions 2.0 and 2.1, the signature for the permission checks always included an optional `obj` parameter, like so: `.has_permission(self, request, view, obj=None)`.  The method would be called twice, first for the global permission checks, with no object supplied, and second for the object-level check when required. -As of version 2.2 this signature has now been replaced with two seperate method calls, which is more explict and obvious.  The old style signature continues to work, but it's use will result in a `PendingDeprecationWarning`, which is silent by default.  In 2.3 this will be escalated to a `DeprecationWarning`, and in 2.4 the old-style signature will be removed. +As of version 2.2 this signature has now been replaced with two separate method calls, which is more explict and obvious.  The old style signature continues to work, but it's use will result in a `PendingDeprecationWarning`, which is silent by default.  In 2.3 this will be escalated to a `DeprecationWarning`, and in 2.4 the old-style signature will be removed.  For more details see the [2.2 release announcement][2.2-announcement]. | 
