There is the problem "django1.2.5"  has some more security updates beacuse
of which your old code may break .

Your code will start working after you add @csrf_exempt in all your views
.And cross check your settings.py middleware classes

('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',)




close your browser and rstart the serve and the try to open your application




---Ankit Rai






On Thu, Feb 24, 2011 at 3:25 PM, luca72 <lucabe...@libero.it> wrote:

> (1, 2, 5, 'final', 0)
>
> Thanks
>
> Luca
>
> On 24 Feb, 10:50, Ankit Rai <ankit9...@gmail.com> wrote:
> > after removing add @csrf_exempt, it will work retsart the server.
> >
> > Which version of django are you using
> > to know version
> > type follwoing cmd
> > python
> > import django
> > django.VERSION
> >
> > On Thu, Feb 24, 2011 at 3:18 PM, luca72 <lucabe...@libero.it> wrote:
> > > removing @crsf_protect i get the same error
> >
> > > On 24 Feb, 10:34, Kenneth Gonsalves <law...@thenilgiris.com> wrote:
> > > > On Thu, 2011-02-24 at 01:20 -0800, luca72 wrote:
> > > > > @csrf_protect
> >
> > > > try removing this
> > > > --
> > > > regards
> > > > KGhttp://lawgon.livejournal.com
> > > > Coimbatore LUG roxhttp://ilugcbe.techstud.org/
> >
> > > --
> > > 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.
>
> --
> 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.
>
>

-- 
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.

Reply via email to