Skip to content
New issue

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

Usage in the admin? #13

Open
gamesbook opened this issue Jan 28, 2017 · 1 comment
Open

Usage in the admin? #13

gamesbook opened this issue Jan 28, 2017 · 1 comment

Comments

@gamesbook
Copy link

Is it possible to give an example of how to use this in Django admin to profile actions?

I have tried:

from debug_toolbar_line_profiler import profile_additional
...

    @profile_additional()
    def my_custom_action(self, request, queryset):
        ...

But no profiling takes place.

@xeor
Copy link

xeor commented Oct 26, 2018

Did you ever find a good way of doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants