From 8e33c667f9a1464a24f69f60a015083e3e8f1e16 Mon Sep 17 00:00:00 2001 From: Jason Ward Date: Mon, 14 Dec 2015 11:09:12 -0500 Subject: [PATCH 1/4] refs #45: Updated gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d0596e1..4f54c99 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ *.egg-info *.sql docs/build/* -.DS_Store \ No newline at end of file +.DS_Store +.tox/ +dist/ From c5c853e12b2674b6548229678063ea0a955543e9 Mon Sep 17 00:00:00 2001 From: Jason Ward Date: Mon, 14 Dec 2015 11:09:32 -0500 Subject: [PATCH 2/4] refs #45: Updated the tests. --- authority/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authority/tests.py b/authority/tests.py index 1c2965d..c7faec1 100644 --- a/authority/tests.py +++ b/authority/tests.py @@ -12,6 +12,9 @@ from authority.models import Permission from authority.exceptions import NotAModel, UnsavedModelInstance from authority.compat import get_user_model +# Load the form +from authority.forms import UserPermissionForm # noqa + User = get_user_model() if VERSION >= (1, 5): From 8f81984939c3fb52f1802f8149466cdb5e61cb86 Mon Sep 17 00:00:00 2001 From: Jason Ward Date: Mon, 14 Dec 2015 11:09:43 -0500 Subject: [PATCH 3/4] refs #45: Fixed broken test. --- authority/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authority/forms.py b/authority/forms.py index 2b99dfb..e4f669b 100644 --- a/authority/forms.py +++ b/authority/forms.py @@ -17,6 +17,7 @@ class BasePermissionForm(forms.ModelForm): class Meta: model = Permission + exclude = [] def __init__(self, perm=None, obj=None, approved=False, *args, **kwargs): self.perm = perm From c2897901027dbf4e5174588a6b224049c7bf4e77 Mon Sep 17 00:00:00 2001 From: Jason Ward Date: Mon, 14 Dec 2015 11:12:18 -0500 Subject: [PATCH 4/4] refs #45: Update Note --- README.rst | 5 +++++ setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index d856690..f3175b2 100644 --- a/README.rst +++ b/README.rst @@ -52,6 +52,11 @@ html version using the setup.py:: Changelog: ========== +0.10 (2015-12-14): +----------------- + +* Fixed a bug with BasePermissionForm and django 1.8 + 0.9 (2015-11-11): ----------------- diff --git a/setup.py b/setup.py index 45ca363..0f930c9 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read(fname): setup( name='django-authority', - version='0.9', + version='0.10', description=( "A Django app that provides generic per-object-permissions " "for Django's auth app."