Re: Newbie question regarding User and Anonymous user

2010-04-06 Thread zenr
In my case, I store the instance of the User class along with some other information. If the user is logged in, I used request.user to get the instance and store it. The problem happens when the user is Anonymous. I finally fixed the problem by checking if the user is authenticated and setting the

Re: Newbie question regarding User and Anonymous user

2010-04-06 Thread Karen Tracey
On Mon, Apr 5, 2010 at 3:32 PM, zenr wrote: > In my application, I used django-registration to allow users to > login. Authenticated users can use all features of the site while > Anonymous user should be able to use some portion of the site. When > django makes a request for an authenticated us

Newbie question regarding User and Anonymous user

2010-04-05 Thread zenr
Hi In my application, I used django-registration to allow users to login. Authenticated users can use all features of the site while Anonymous user should be able to use some portion of the site. When django makes a request for an authenticated user, it creates a request.user object that is deri