#4867: [newforms-admin] FormSet.is_valid() throws error on unbound forms
-----------------------------------------------------+----------------------
Reporter: John Shaffer <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component:
django.newforms
Version: newforms-admin | Resolution:
Keywords: | Stage:
Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------------+----------------------
Changes (by John Shaffer <[EMAIL PROTECTED]>):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The traceback, in case you want it:
{{{
Traceback (most recent call last):
File "C:\Documents and Settings\John\My Documents\django-
trunk\django\core\handlers\base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "C:\Documents and Settings\John\My Documents\django-
trunk\django\contrib\auth\decorators.py" in _checklogin
17. return view_func(request, *args, **kwargs)
File "C:\Documents and Settings\John\My Documents\django-
trunk\django\db\transaction.py" in _commit_on_success
194. res = func(*args, **kw)
File "C:\Documents and Settings\John\My
Documents\booking\views\add_appointments.py" in index
59. if formset.is_valid() and formset.cleaned_data:
File "C:\Documents and Settings\John\My Documents\booking\formsets.py" in
is_valid
150. return self._is_valid
AttributeError at /booking/add-appointments/
'AppointmentFormFormSet' object has no attribute '_is_valid'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4867#comment:1>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---