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