From 57a0d848c9dc391b21add15cef22dda48aafe2ef Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 26 Dec 2014 21:48:09 +0100 Subject: [PATCH 1/3] remove unused import --- gnuviechadmin/osusers/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gnuviechadmin/osusers/models.py b/gnuviechadmin/osusers/models.py index f3a524b..93a4c3d 100644 --- a/gnuviechadmin/osusers/models.py +++ b/gnuviechadmin/osusers/models.py @@ -13,8 +13,6 @@ from django.utils.translation import ugettext as _ from model_utils.models import TimeStampedModel -from celery.result import AsyncResult - from passlib.hash import sha512_crypt from passlib.utils import generate_password From dad9849b48a9ff647929b7c3fba78cb6b0a6cc70 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 26 Dec 2014 22:38:02 +0100 Subject: [PATCH 2/3] remove attribute readonly_fields from UserAdmin --- docs/changelog.rst | 3 +++ gnuviechadmin/osusers/admin.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 70036d8..f7ccf0d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,9 @@ Changelog ========= +* :bug:`-` remove attribute readonly_fields from + :py:class:`osusers.admin.UserAdmin` to make saving of additional groups work + * :release:`0.2.2 <2014-12-26>` * :feature:`-` home and mail base directory creation diff --git a/gnuviechadmin/osusers/admin.py b/gnuviechadmin/osusers/admin.py index aa85d96..a46dbc5 100644 --- a/gnuviechadmin/osusers/admin.py +++ b/gnuviechadmin/osusers/admin.py @@ -65,7 +65,6 @@ class UserCreationForm(forms.ModelForm): class UserAdmin(admin.ModelAdmin): actions = ['perform_delete_selected'] - readonly_fields = ['uid'] add_form = UserCreationForm inlines = [AdditionalGroupInline, ShadowInline] From cadce872d639bfc705da105fc6703a9f305d9480 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 26 Dec 2014 22:39:59 +0100 Subject: [PATCH 3/3] add version number --- docs/changelog.rst | 1 + docs/conf.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index f7ccf0d..8307437 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,7 @@ Changelog ========= +* :release:`0.2.3 <2014-12-26>` * :bug:`-` remove attribute readonly_fields from :py:class:`osusers.admin.UserAdmin` to make saving of additional groups work diff --git a/docs/conf.py b/docs/conf.py index bb980fe..3f2bc82 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,9 +55,9 @@ copyright = u'2014, Jan Dittberner' # built documents. # # The short X.Y version. -version = '0.2.2' +version = '0.2.3' # The full version, including alpha/beta/rc tags. -release = '0.2.2' +release = '0.2.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.