| 664 | === Changed interface to manipulators === |
| 665 | |
| 666 | Old: {{{ |
| 667 | from django.core import formfields |
| 668 | from django.models.MODELPACKAGE import MODELMODULE |
| 669 | ... |
| 670 | manipulator = MODELMODULE.AddManipulator() |
| 671 | ... |
| 672 | form = formfields.FormWrapper(manipulator, new_data, errors) |
| 673 | }}} |
| 674 | |
| 675 | New: {{{ |
| 676 | from django.forms import FormWrapper |
| 677 | from PROJECT.APP.models import MODELNAME |
| 678 | ... |
| 679 | manipulator = MODELNAME.AddManipulator() |
| 680 | ... |
| 681 | form = formfields.FormWrapper(manipulator, new_data, errors) |
| 682 | }}} |
| 683 | |
| 684 | |