Re: Group Permissions programmatically

2017-07-31 Thread Frank Semaganga
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 connect a signal to your

Re: Group Permissions programmatically

2017-07-31 Thread Александр Христюхин (roboslone)
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, *