On 12/06/2010 03:05 AM, Wayne Smith wrote:
> It's hard to say, because I don't know what kind of "validation" or business
> logic regarding it you are trying to accomplish/employ.
> 


suppose I want a validation like this:

the number of fotos in a galeria should be limited to a number, which
depends on the user that created it (OR, depends on some values that are
in the galeria object)



> However, if you are wanting to ensure you validate a foto during a gallery
> save, why not call an overridden fotos.save() from your custom
> galeria.save()?
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to