Hello
Thank you for the suggestion! Let me adapt the approach and see.
Regards
Sent from my iPhone
> On Jul 31, 2017, at 20:28, Александр Христюхин (roboslone)
> wrote:
>
> Hi,
>
> Why don't you use the same approach that is generally used with users? I mean
> you
Hi,
Why don't you use the same approach that is generally used with users? I mean
you connect a signal to your User/Group model, that changes permission for
created objects, like so:
@receiver(post_save, sender=settings.AUTH_USER_MODEL)
def create_user_permissions(instance=None, created=None,
Hi!
I am having a challenge . My aim is to be able to assign some group
permissions when the group is created. In admin.py I have a custom
GroupAdmin class on which I have the function save customized but the
challenge is everything else get saved and reflected on admin page
including user
3 matches
Mail list logo