Django: Django: access the attributes of a model dynamically