TemplateDoesNotExist exception for '404.html' raised on v3 API endpoint
I have not encountered this bug in practice, but I'm confident it exists because of the existence of issue #1485.
To reproduce do the following:
1. Make a url request to a url handled by the Django project handling requests to the /srv/pulp/puppet_forge.wsgi wsgi environment. This URL needs to be invalid such that you expect a 404 to be returned
2. Observe you'll see a TemplateDoesNotExist exception based on 404.html
To fix this we should do something similar to what we did in platform. NOTE It's important to use *args and **kwargs on the handler implemented because newer version of Django change the handler signature in backwards incompatible ways. This was done here.