Re: Custom Manipulator problem

2006-07-14 Thread Robert
Hello Jorge, Adding save() method solved the problem. Seems like I misunderstood the documentation. As for using Entry.AddManipulator: I can't use it as I want to use my own additional validation methods like: (`nr` starting from 023, etc.). Maybe this could be done the other way (validation met

Re: Custom Manipulator problem

2006-07-14 Thread Jorge Gajon
Hi again, I rushed with my previous email. Why don't you use the generated manipulator from the model instead of writing your own? You only need to change this line: manipulator = EntryManipulator() with this line: manipulator = Entry.AddManipulator() that should work. Then there's no nee

Re: Custom Manipulator problem

2006-07-14 Thread Jorge Gajon
Hi, You need to implement the save() method in your custom manipulator. Cheers On 7/14/06, Robert <[EMAIL PROTECTED]> wrote: > > Hello, > > When using custom Manipulator (which in fact does nothing.. I've cut > some additional custom validation here) I'm getting error as follows: >

Custom Manipulator problem

2006-07-14 Thread Robert
Hello, When using custom Manipulator (which in fact does nothing.. I've cut some additional custom validation here) I'm getting error as follows: Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py" in