-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
silk profile is not work, with dango-version 2.0.2 and django-silk version 2.0.0 #277
Comments
I have the same issue, and no idea how to solve it. |
I am unable to replicate this issue, for example the test Perhaps you could try adding this to your
|
For Django==2.0.2 and django-silk==2.0.0. def __set__(self, instance, value):
raise TypeError(
'Direct assignment to the %s is prohibited. Use %s.set() instead.'
% self._get_set_deprecation_msg_params(),
) It helps if I change the row 183 of lib\site-packages\silk\collector.py to profile.queries.set(profile_query_models) |
@albertyw Sounds good to me. |
when I using the decorator in the view function like this:
and I also tried to set
SILKY_PYTHON_PROFILER = True
SILKY_PYTHON_PROFILER_BINARY = True
and the profile is not work at all
"No Silk profiling was performed for this request. Use the silk_profile decorator/context manager to do so."
The text was updated successfully, but these errors were encountered: