diff --git a/docs/changelog.rst b/docs/changelog.rst index 70036d8..8307437 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,10 @@ 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 + * :release:`0.2.2 <2014-12-26>` * :feature:`-` home and mail base directory creation 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. 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] 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