2013/12/19 Fabio C. Barrionuevo da Luz <[email protected]>

> 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]

https://github.com/django/django/blob/stable/1.6.x/django/contrib/auth/management/__init__.py#L61
https://github.com/django/django/blob/stable/1.6.x/django/contrib/auth/management/__init__.py#L190

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to