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

temp_private_root creates temporary directories without deleting them #8

Open
Viicos opened this issue Jun 28, 2024 · 2 comments
Open

Comments

@Viicos
Copy link

Viicos commented Jun 28, 2024

temp_private_root uses tempfile.mkdtemp, which does not delete the temporary directory. This isn't a big issue as they will be remove on the next reboot

@sergei-maertens
Copy link
Owner

I know, but the decorator does not know when the directory can safely be deleted again, and it just wraps around override_settings anyway

@Viicos
Copy link
Author

Viicos commented Jun 28, 2024

Seems like it would require subclassing override_settings to implement this. Issue can be closed if you thing this isn't worth the trouble, at least it will be documented in the issue list

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

No branches or pull requests

2 participants