Good morning,On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
I don't know what you mean with "stop". I think each validator will beexecuted, but they will take into account whether record_type has theright value.Anyway, I personally give up :-(
You can try to find out what's happening:- crea
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote: Christian Schneider wrote:>>> Michael,>>>
>>> I'm still using a generic view. I played with some custom functions>> before>>> and they were called so I'd hop
Christian Schneider wrote:
> On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>>
>> Christian Schneider wrote:
>>> Michael,
>>>
>>> I'm still using a generic view. I played with some custom functions
>> before
>>> and they were called so I'd hoped that it would work with the validator
>>> ob
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> Michael,>> I'm still using a generic view. I played with some custom functions before> and they were called so I'd hoped that it would work with the validator
> objects as well.I looked in the source. Aha! First para
Christian Schneider wrote:
> Michael,
>
> I'm still using a generic view. I played with some custom functions before
> and they were called so I'd hoped that it would work with the validator
> objects as well.
I looked in the source. Aha! First parameter to RequiredIfOtherField is
the *name* of
Michael,I'm still using a generic view. I played with some custom functions before and they were called so I'd hoped that it would work with the validator objects as well.Regardschris
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> However, no matter what value re
Christian Schneider wrote:
> However, no matter what value recording_type has, the validator is not
> called. What I find funny is that the validator's __call__ method takes
> three values (self, field_data, all_data) while custom validator functions
> specified with validator_list take only field
Hi all,I want to specify some dependencies in my model (magic removal) and want to use django.core.validators.RequiredIfOtherFieldEquals for that.My model contains the following code:from django.core
import validatorsrecording_type = models.IntegerField( choices=RECORDING_TYPE_CHOICES,
8 matches
Mail list logo