Dynamic Creation of newforms Persists field data
|Reported by:||Deryck Hodge <deryck@…>||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Attached is a patch to the tests for newforms, showing that when passing in fields to dynamically created forms, the fields are persisting across multiple instances of the form.
The current test fails as attached, returning field1, field2, field3, and field4 on the second print statement, when it should just return field3 and field4.
Change History (3)
Changed 9 years ago by Deryck Hodge <deryck@…>
comment:1 Changed 9 years ago by adrian
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted