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

Optimise next prev record #791

Merged
merged 9 commits into from
Sep 16, 2021
Merged

Optimise next prev record #791

merged 9 commits into from
Sep 16, 2021

Commits on Feb 5, 2021

  1. Optimise next_record and prev_record

    Previously they called `.instance`, which was unnecessary as only the `_meta` was needed. By using the class itself, the need for an extra query is removed in cases where fields are excluded.
    RealOrangeOne committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    a8eda41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf371f9 View commit details
    Browse the repository at this point in the history
  3. Update test names so they run, and fix them

    Methods are only run as test cases if they start with `test_`
    RealOrangeOne committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    3f7a544 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f80db0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80d4281 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca36ab6 View commit details
    Browse the repository at this point in the history
  7. Ensure history is still filtered by the correct model

    This means history for another model doesn't appear incorrectly.
    RealOrangeOne committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    e250831 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    bb84236 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31b9374 View commit details
    Browse the repository at this point in the history