Re: CSRF Token Help

2014-06-15 Thread Jesse Warden
7;t know dart). > > I don't think you should get the crsf token from another request, because > that should change (if I understand this correctly). Try getting the the > cookie, and ONLY adding it to the request header of your request, and not > to the form. > > Reg

Re: CSRF Token Help

2014-06-15 Thread Jesse Warden
#ajax > > Renato Oliveira > @_renatooliveira <http://twitter.com/_renatooliveira> > Labcodes - www.labcodes.com.br > > > > On Sun, Jun 15, 2014 at 11:38 AM, Jesse Warden > wrote: > >> I've read the stack overflow posts, blog articles on how CSRF works,

CSRF Token Help

2014-06-15 Thread Jesse Warden
I've read the stack overflow posts, blog articles on how CSRF works, etc, but still failing to get this to work in both JavaScript and Dart. No matter what I try, I keep getting a 403 for my login method. I've attempted various Apache/Virtual Host programs for Mac to run a local domain in hopes

Re: Creating Model with ManyToMany relationship from PyAMF & Flex

2009-07-14 Thread Jesse Warden
Nevermind, found this: http://www.djangoproject.com/documentation/models/many_to_many/ And got it working. woo WOOO!!! On Tue, Jul 14, 2009 at 2:28 PM, Jesse Warden wrote: > n00b here. I'd like to create a complex Model from a Flex Object > (basically decoded JSON). I've

Creating Model with ManyToMany relationship from PyAMF & Flex

2009-07-14 Thread Jesse Warden
n00b here. I'd like to create a complex Model from a Flex Object (basically decoded JSON). I've created a Model successfully already, but am unsure how to do this with the multiple Models that have ManyToMany relationships with each other. This works: def create_power(request, powerObj): try: p