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

Introduce Django #119

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gyx1000
Copy link

@gyx1000 gyx1000 commented Nov 14, 2024

Hello there,

This is my first attempt at integrating Django with Pyctuator.
It's not finished yet, but I wanted to get your opinion first. The code isn't clean and, among other things, the disabled_endpoints part is missing.

I've implemented it using the same strategy as for the other Frameworks. However, I wonder if it wouldn't be better for django
to create a Django application with urls and middelware.

Indeed, in this PR, I modify the settings of django behind de scene. This doesn't seem to me to follow the Django philosophy.
For me, having a Django app in the pyctuator project would be the best solution.

All the user would have to do is configure the /pyctuator endpoint on the ROOT_URLS and add the middleware needed to track traces.

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.

1 participant