Defining view attributes with the same name that a model field was leading to errors

This commit solves this by checking if the attribute is callable.