So, for an ajax app, I could create a view with an empty form,
including just the csrf? Or create a view that calls get_token()?
Manually calling get_token() in the view for the first ajax GET seems
to be working. After that I can POST to other views.
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
On Mon, Mar 21, 2011 at 10:23 AM, Matt Robenolt