The docstring is way out of date.  template isn't an arg anymore, and view, frag, context, and display_name_only aren't mentioned.