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

fixtures: ensure db blocker is always restored #1150

Merged
merged 2 commits into from
Sep 28, 2024
Merged

Commits on Sep 28, 2024

  1. fixtures: ensure db blocker is always restored

    As the code is written currently, it's possible the `restore` is not
    called in case of exception. Use the context manager to ensure that it
    does.
    
    This is not to fix an observed issue, just a fix from reviewing the
    code.
    bluetech committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    1d23971 View commit details
    Browse the repository at this point in the history
  2. plugin: improve django_db_blocker docstring

    Note, this is not used in the docs.
    bluetech committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    013b090 View commit details
    Browse the repository at this point in the history