Closed Aperyon closed 1 year ago
SELECTs, UPDATEs, DELETEs are recorded as expected, but INSERTs are not. I would expect INSERT queries to be recorded as well.
Minimal setup
poetry init poetry add django poetry shell django-admin startproject example cd example ./manage.py createsuperuser ./manage.py runserver
Then add
"silk"
INSTALLED_APPS
"silk.middleware.SilkyMiddleware"
MIDDLEWARE
urlpatterns += [path('silk/', include('silk.urls', namespace='silk'))]
urls.py
Then log into django admin to
Then navigate to /silk/ and see that
/silk/
/admin/auth/user/add/
/admin/auth/user/2/change/
/admin/auth/user/2/delete/
Closing in favor of https://github.com/jazzband/django-silk/issues/630
SELECTs, UPDATEs, DELETEs are recorded as expected, but INSERTs are not. I would expect INSERT queries to be recorded as well.
Minimal setup
Then add
"silk"
toINSTALLED_APPS
"silk.middleware.SilkyMiddleware"
toMIDDLEWARE
urlpatterns += [path('silk/', include('silk.urls', namespace='silk'))]
inurls.py
Then log into django admin to
Then navigate to
/silk/
and see that/admin/auth/user/add/
-> no INSERT query/admin/auth/user/2/change/
-> yes UPDATE query/admin/auth/user/2/delete/
-> yes DELETE query