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 <[email protected]> wrote:
> (1, 2, 5, 'final', 0)
>
> Thanks
>
> Luca
>
> On 24 Feb, 10:50, Ankit Rai <[email protected]> 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 <[email protected]> wrote:
> > > removing @crsf_protect i get the same error
> >
> > > On 24 Feb, 10:34, Kenneth Gonsalves <[email protected]> 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 [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.