Creating a login form using django forms

I created a login form using django forms, but I cant get it to redirect me when login its stays on the same point, what do i do ? i use python 2.0.7

Can you bring your code here?