Friday, December 20, 2013

Re: Where exactly in the django source code, the default permissions are created?

2013/12/19 Fabio C. Barrionuevo da Luz <bnafta@gmail.com>
Hello guys, I'm trying to understand the inner workings of the permissions django system.

My question is where exactly in the django source code, the default permissions are created?

Default permissions are created by django.contrib.auth.management.create_permissions [1], which is called by the post_syncdb signal [2]

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP5dYfND%3D18w73OVKWQXDw-mJwrUmMSxvV3M6bG1ef37TrBYHg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment