Steven Armstrong wrote:
> On 08/10/06 20:25, DavidA wrote:
> > Steven Armstrong wrote:
> >> I've had similar problems and solved them like this:
> >>
> >> myproject/validators.py
> >> %<--
> >> from django.utils.translation import gettext_lazy as _
> >> from django.cor
On 08/10/06 20:25, DavidA wrote:
> Steven Armstrong wrote:
>> I've had similar problems and solved them like this:
>>
>> myproject/validators.py
>> %<--
>> from django.utils.translation import gettext_lazy as _
>> from django.core.validators import *
>> import re
>>
>>
Steven Armstrong wrote:
> I've had similar problems and solved them like this:
>
> myproject/validators.py
> %<--
> from django.utils.translation import gettext_lazy as _
> from django.core.validators import *
> import re
>
> my_ansi_date_re = re.compile('put regexp her
On 08/09/06 22:15, DavidA wrote:
> I'm sure I'm just misunderstanding how manipulators and validators
> work, but I can't see the right way to do this: I want to support more
> formats for a DateField then just '-MM-DD' (which is checked in
> DateField by isValidANSIDate).
>
> It seems like I
I'm sure I'm just misunderstanding how manipulators and validators
work, but I can't see the right way to do this: I want to support more
formats for a DateField then just '-MM-DD' (which is checked in
DateField by isValidANSIDate).
It seems like I can add *more restrictive* validators but ca
5 matches
Mail list logo