translate/pootle — pull request #298 by jleclanche (2014-07-07 03:09:09+00:00)
Title: RFC: Cleanup: Drop @ajax_required decorator

Reasoning: All it does is check the method is ajax (through's django's `is_ajax()` method, which checks the `HTTP_X_REQUESTED_WITH` header) and error out if it's not (and we're not in DEBUG mode)

We don't *actually* need that. All of these bits are used as internal apis but requesting them normally should not be an issue (makes it harder to debug, or simply use curl).