Also, we may at least use a OrderedDict to ensure the order of the attributes. For a detail page, I usually hard code the values I want to present in the tempalte:
  some attribute: {{ object.some_attribute }}