Skip to content

CMS_PERMISSION = TRUE error creating group #1653

Closed
fmoggia opened this Issue Mar 10, 2013 · 1 comment

2 participants

@fmoggia
fmoggia commented Mar 10, 2013

This is the error I get when I try to add a group with CMS_PERMISSION = True

TypeError at /admin/auth/group/add/
'user_ptr_id' is an invalid keyword argument for this function

and this is the line throwing the error
django-cms/cms/signals.py in post_save_user_group
page_user = PageUserGroup(user_ptr_id=instance.pk, created_by=creator)

changing this line to the following fix the problem for me
page_user = PageUserGroup(group_ptr_id=instance.pk, created_by=creator)

@digi604
Divio AG member
digi604 commented Jul 11, 2013

fixed in develop

@digi604 digi604 closed this Jul 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.