#15905: Forms keyword arguments..
------------------------+----------------------------
 Reporter:  mpamukcu@…  |          Owner:  nobody
     Type:  Bug         |         Status:  new
Milestone:              |      Component:  Forms
  Version:  1.2         |       Severity:  Normal
 Keywords:              |   Triage Stage:  Unreviewed
Has patch:  0           |  Easy pickings:  0
------------------------+----------------------------
 when i try to validate my form its is_valid function returns False when i
 code like this:
 form  = ProductMetaForm(post)
    if form.is_valid():
       return True
    else:
       return False

 but, if i equiliaze post to data keyword arg , then it returns True:
 in example:

 form  = ProductMetaForm(data = post)
    if form.is_valid():
       return True
    else:
       return False

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15905>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to