fix model template to use decorator over model, not the __str__ method