Make the status API and openAPI schema version listing report on django installed plugins not python packages
With 3.10 compatibility all plugins are required to report their django app name and version.
We need to switch the status API here to get the version information from the
PulpPluginAppConfig subclasses instead of using
get_distribution. This resolves the plugin usage issue where we used python package names instead of django app names which is really what plugins are.
Also the OpenAPI schema version listing should be updated as well.
Added by bmbouter about 3 years ago
Switches plugin reporting to use Django name
The Status API and the OpenAPI schema API now both use the Django name. This is a backwards incompatible change, but necessary to fix the bug which was using Python package names incorrectly instead.
This also reapplies the plugin template changes required from the PR below: