ticket:5 for #5 more elegant way to check model instances
Merge branch 't5_photo'