juanique/django-chocolate — pull request #6 by jondbaker (2012-12-02 07:27:25+00:00)
Title: Use 'resource_name' for key if available.

Add check for 'resource_name' Meta class attribute before building the key from the class name. This allows for doc URLs that match the api URLs when 'resource_name' is specified. This reduces confusion when trying to locate the documentation for an api resource that has in fact specified 'resource_name'.

@see django-tastydoc master branch pull request for corresponding URL pattern update.