I'm using django-registration and I solved the same problem by using this: http://djangosnippets.org/snippets/1960/
Works like a charm :) Regards, Uros On Jul 26, 8:41 am, Lior Sion <lior.s...@gmail.com> wrote: > Are you using anything not defaulted, like django-registration? In the > database - is the user created and the active flag is true? > > On Jul 24, 2:16 pm, vaibhav agarwal <vaisci...@gmail.com> wrote: > > > > > > > > > Hi, > > > I am using Django 1.3. I have started building my first site in django > > and it seems real fun . I am learning a lot from it . But I have a > > small problem . I want to login a user after he registers and then > > redirect him to the home page of the site . For this I tried , the > > stuff given in the > > linkhttp://stackoverflow.com/questions/3222549/how-to-automatically-login... > > but it does not work for me . When I tried this , the user is directed > > to the home page but since that has the login_required function , it > > asks the user to manually login which I dont want . How do I rectify > > this ? > > > Thanks in advance for the help . > > > Cheers > > > Vaibhav -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.