You could probably consolidate this down to a single filter with a dictionary lookup. Just pass in a single argument, check if it's in the dictionary, and pass the new value if it is. It would make the filter call in profile_item.html:12 short as well.