Skip to content

Use cleanup hook to reload django views #955

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

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Feb 25, 2024

Tasks

  • Unit tests added that reproduce the issue or prove feature is working - n/a
  • Fix or feature added
  • Entry to release notes added
  • Pre-commit CI shows no errors
  • Unit tests passing
  • For documentation changes: The Read the Docs preview builds and looks as expected

- reload only the django view modules instead of all modules
- change the module cleanup mode default to always delete modules
  (avoiding problems with reloading other modules)
- closes pytest-dev#932
@mrbean-bremen mrbean-bremen changed the title Use cleanup hook to reload django view Use cleanup hook to reload django views Feb 25, 2024
@mrbean-bremen mrbean-bremen merged commit 5c44c64 into pytest-dev:main Feb 25, 2024
@mrbean-bremen mrbean-bremen deleted the django-test branch February 26, 2024 19:25
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