Skip to content

Comments

Add pyinstrument to settings#911

Draft
benthomasson wants to merge 1 commit intoansible:mainfrom
benthomasson:pyinstrument
Draft

Add pyinstrument to settings#911
benthomasson wants to merge 1 commit intoansible:mainfrom
benthomasson:pyinstrument

Conversation

@benthomasson
Copy link
Collaborator

No description provided.

"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"crum.CurrentRequestUserMiddleware",
"pyinstrument.middleware.ProfilerMiddleware",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add this package as application dependency? I would say we want it only for development in

[tool.poetry.group.dev.dependencies]
and add the middleware in settings/development.py

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

Successfully merging this pull request may close these issues.

2 participants