Nitpicking: The docstrings could be a bit more descriptive as they're used in the place of the function name in the test output (something like "If there's no lang param or HTTP_ACCEPT_LANGUAGE header, return settings.LANGUAGE_CODE.")