On 08/26/2010 05:33 PM, Alan wrote:
Ops, sorry, but I don't have this line
django.middleware.csrf.CsrfViewMiddleware, as I said, it's a project
done in 1.0.2. and I want it to run on my django 1.2 but without any
reference to Csrf, since the server where the portal is runs 1.0.2
yet.

You could also attempt it the other way around.

If I remember correctly, they added a "dummy" {% csrf %} tag to 1.1.x that doesn't really do anything. So a form that works with 1.2 also works with 1.1 without throwing errors.

You could see if that's available/portable for 1.0, too. Otherwise, a template tag that hacks this is quick to make yourself, I'd guess.


Reinout

--
Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@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