Actually, I'm creating a new object with this form. If it helps to 
understand the scenario, I'm taking in JSON and creating an object out of 
the data. But, I can't just pass the raw POST QueryDict because the data 
doesn't map correctly by any means.

On Monday, August 13, 2012 4:55:27 PM UTC-4, Melvyn Sopacua wrote:
>
> On 13-8-2012 22:34, Kurtis wrote: 
>
> > This may be a simple question and something I will probably just need 
> more 
> > time to dig in and try out. What's the best way to send data to a form 
> > (specifically ModelForm) without using request.POST? 
>
> The initial argument work for you? 
> In short, initial should be used for 'change forms' and request.POST for 
> the /result/ of that form. 
> -- 
> Melvyn Sopacua 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/rmrcIohRghEJ.
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