. . "It is unlawful for the owner or custodian of any dog or other animal to permit, either willfully or by failure to exercise due care, such animal to commit a public nuisance by defecating in any park." . .