Re: Form with two select boxes + javascript - selection gets destroyed???
Thank you for answering:
On Apr 15, 8:47 pm, Shawn Milochik <sh...@milochik.com> wrote:
> Two things:
>
> 1. Does your form use a prefix?
I don't really what you mean with prefix?
>
> 2. Please post a relevant excerpt of your request.POST data.
(I mangled things a bit up in the original message; in particular the
offending field is not named product_id but rather agent_id):
This is my POST data:
Variable Value
name u'Bjarne Grethe'
org_id u'-1'
country_id u'45'
telephone u'78'
agent_id u'43' <--- This is the relevant quantity
.....
And this is the results of pressing "Local vars" in the traceback in
from clean():
▼ Local vars Variable Value
country <Country: Danmark>
self <transactions.user.forms.UserForm object at 0xb97ea1ec>
country_id 45
org_id -1
agent_id None <---- Now it has become None???
Joakim
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home