Hello guys.... I'm a little bit confused... . When using django all that is, permissions and roles.... He is my understanding of how django works..... On each request made my by a client django creates a request object from it.... And by using the authentication middleware it adds the logged in user to this request object....now the unclear part....
Where does django get this authenticated user assuming the user is logged in, and the permissions that are cached on user object? I didn't see where they were achieving this cause out of my head i would be using sessions to store logged in user? I saw in the source code the permissions were being cached on the user object which also i would have stored in the session? Enlighten me please. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0f5b8c1a-f89a-4b7f-892b-b91b559b1c5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.