CSRF problem: Django-registration app with my custom login-form in my base.html?

Up vote 1 down vote favorite share g+ share fb share tw.

Im using bitbucket.org/ubernostrum/django-registr... for login and registration in Django. But now im trying to add an login-form in my base. Html, with a simple form {% csrf_token %}... etc The thing is when I login it says CSRF verification fails, I guess this is because the data isnt sent from templates/registration/login.

Html? Any idea how I should solve this in an easy way, will I have to write my own login-view? Django csrf django-registration link|improve this question asked Jul 18 '11 at 13:06Johan61.

– André Caron Jul 18 '11 at 13:18 Didn't send the csrf info with the view.. it isnt easy when you'r new :) – Johan Jul 18 '11 at 13:40.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions