We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have ViewSet with drf @action
class SomeView(BaseViewSet): requestlogs_action_names = { 'list': "Receiving", "some_action": "some event has occurred", } ... @action( methods=["get"], detail=True, url_path="some-action", url_name="some-action", ) def some_action(self, request, *args, **kwargs): some_logic(kwargs) return response
I can't get action_name to log
Its my log:
{'action_name': None, ... , ('full_path', '/api/some-action/'), ...}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have ViewSet with drf @action
I can't get action_name to log
Its my log:
{'action_name': None, ... , ('full_path', '/api/some-action/'), ...}
The text was updated successfully, but these errors were encountered: