Allow resources to specify the name to use for links.

Review Request #6125 — Created July 21, 2014 and submitted — Latest diff uploaded

Information

Djblets
release-0.7.x
fb82a38...

Reviewers

WebAPIResource subclasses can now set the link_name attribute to the
desired name for any links from other resources. Previously, this was
hard-coded to name_plural, and it still defaults to that.

This makes it easier to change a resource's name without affecting the
link, or to just choose a nicer name for links.

Made use of this in another change. Saw the proper link name.