Commit fd89bca3 by Tom Christie

Version 2.1.6. AKA: I am a doofus.

parent 95aa99d8
...@@ -58,6 +58,12 @@ To run the tests. ...@@ -58,6 +58,12 @@ To run the tests.
# Changelog # Changelog
## 2.1.6
**Date**: 23rd Nov 2012
* Bugfix: Unfix DjangoModelPermissions. (I am a doofus.)
## 2.1.5 ## 2.1.5
**Date**: 23rd Nov 2012 **Date**: 23rd Nov 2012
......
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
> >
> — Eric S. Raymond, [The Cathedral and the Bazaar][cite]. > — 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 ## 2.1.5
**Date**: 23rd Nov 2012 **Date**: 23rd Nov 2012
......
__version__ = '2.1.5' __version__ = '2.1.6'
VERSION = __version__ # synonym VERSION = __version__ # synonym
...@@ -109,6 +109,6 @@ class DjangoModelPermissions(BasePermission): ...@@ -109,6 +109,6 @@ class DjangoModelPermissions(BasePermission):
if (request.user and if (request.user and
request.user.is_authenticated() and request.user.is_authenticated() and
request.user.has_perm(perms, obj)): request.user.has_perms(perms, obj)):
return True return True
return False return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment