Skip to content

Commit

Permalink
Version 2.1.6. AKA: I am a doofus.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Nov 23, 2012
1 parent 95aa99d commit fd89bca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ To run the tests.

# Changelog

## 2.1.6

**Date**: 23rd Nov 2012

* Bugfix: Unfix DjangoModelPermissions. (I am a doofus.)

## 2.1.5

**Date**: 23rd Nov 2012
Expand Down
6 changes: 6 additions & 0 deletions docs/topics/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
>
> — Eric S. Raymond, [The Cathedral and the Bazaar][cite].
## 2.1.6

**Date**: 23rd Nov 2012

* Bugfix: Unfix DjangoModelPermissions. (I am a doofus.)

## 2.1.5

**Date**: 23rd Nov 2012
Expand Down
2 changes: 1 addition & 1 deletion rest_framework/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '2.1.5'
__version__ = '2.1.6'

VERSION = __version__ # synonym
2 changes: 1 addition & 1 deletion rest_framework/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ def has_permission(self, request, view, obj=None):

if (request.user and
request.user.is_authenticated() and
request.user.has_perm(perms, obj)):
request.user.has_perms(perms, obj)):
return True
return False

0 comments on commit fd89bca

Please sign in to comment.