I've added an additional validator to a model field and while it works
as expected, the actual error message is being displayed twice above the
form field in the admin site. Anyone experience this before?
large_image_validator = validators.RequiredIfOtherFieldEquals('show',
'on')
...
large_image =
models.ImageField(...validator_list=[large_image_validator])
Thanks!
Phillip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---