We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 saves prof files to SILKY_PYTHON_PROFILER_RESULT_PATH but then copies them all into MEDIA_ROOT.
SILKY_PYTHON_PROFILER_RESULT_PATH
MEDIA_ROOT
The solution is to specify the storage= on the FileField as an instance of this:
storage=
class SilkyStorage(FileSystemStorage): def __init__(self, **kwargs): kwargs['location'] = settings.SILKY_PYTHON_PROFILER_RESULT_PATH super(SilkyStorage, self).__init__(**kwargs)
Also, it isn't clear from the documentation what SILKY_PYTHON_PROFILER_RESULT_PATH is meant to be relative to.
I'm running 0.7.0 due to the PostgreSQL issues in 0.7.1.
The text was updated successfully, but these errors were encountered:
@r3m0t I will get a release with this issue addressed soon (EOW).
Sorry, something went wrong.
@avelis is it time to release a new version? I'm looking forward to use this great patch. Thank you.
@xyb release made
No branches or pull requests
Silk saves prof files to
SILKY_PYTHON_PROFILER_RESULT_PATH
but then copies them all intoMEDIA_ROOT
.The solution is to specify the
storage=
on the FileField as an instance of this:Also, it isn't clear from the documentation what SILKY_PYTHON_PROFILER_RESULT_PATH is meant to be relative to.
I'm running 0.7.0 due to the PostgreSQL issues in 0.7.1.
The text was updated successfully, but these errors were encountered: