Version 2.1.6. AKA: I am a doofus.

This commit is contained in:
Tom Christie 2012-11-23 13:21:18 +00:00
parent 95aa99d8df
commit fd89bca35f
4 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,3 @@
__version__ = '2.1.5' __version__ = '2.1.6'
VERSION = __version__ # synonym VERSION = __version__ # synonym

View File

@ -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