Re: magic-removal: model validate() question(s)

2006-03-31 Thread Nebojsa Djordjevic
Adrian Holovaty wrote: > That's pretty much it. Let me know if you decide to take this on...We > should coordinate which fields we're taking. I'm attached new unit-tests and the first version of the patch to the ticket (http://code.djangoproject.com/ticket/1553). Take a look. Not implemented:

Re: magic-removal: model validate() question(s)

2006-03-30 Thread Nebojsa Djordjevic
Nebojša Đorđević wrote: > I giving it a try, see ticket http://code.djangoproject.com/ticket/1553 for > details. For start I attached unit-tests for field classes to the ticket. -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot.com/ | http

Re: magic-removal: model validate() question(s)

2006-03-29 Thread Nebojša Đorđević
Adrian Holovaty wrote: > That's pretty much it. Let me know if you decide to take this on...We > should coordinate which fields we're taking. I giving it a try, see ticket http://code.djangoproject.com/ticket/1553 for details. p.s. being in different time zones have some advantages ;) -- Nebo

Re: magic-removal: model validate() question(s)

2006-03-28 Thread Adrian Holovaty
On 3/28/06, Neboj¹a Ðorðeviæ <[EMAIL PROTECTED]> wrote: > Currently implemented validate() methods (in EmailField, IPAddressField and > PhoneNumberField) just call > validators.isValidFOO(field_data, all_data) and, for example, validate method > for PositiveIntegerField will look > something like

Re: magic-removal: model validate() question(s)

2006-03-28 Thread Nebojša Đorđević
Adrian Holovaty wrote: > Yeah, it doesn't get called on save() yet. It's not really intended > for general use, because only a few of the Field classes have the > validation method implemented. Help coding this up would be *much* > appreciated! I'll will try to help if I can. Currently implemen

Re: magic-removal: model validate() question(s)

2006-03-28 Thread Adrian Holovaty
On 3/28/06, Neboj¹a Ðorðeviæ <[EMAIL PROTECTED]> wrote: > I just tried to use new model validate() method (R2571) but > > It's don't get called when I save or change object. I looked a little in > Model class and I > can't find any invocation of > the validate() method. Is it available for gen

magic-removal: model validate() question(s)

2006-03-28 Thread Nebojša Đorđević
I just tried to use new model validate() method (R2571) but It's don't get called when I save or change object. I looked a little in Model class and I can't find any invocation of the validate() method. Is it available for general use or I must wait a little bit more ;) ? Also, I presume (