-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
jeking3
merged 9 commits into
jazzband:master
from
RealOrangeOne:optimise-next-prev-record
Sep 16, 2021
Merged
Optimise next prev record #791
jeking3
merged 9 commits into
jazzband:master
from
RealOrangeOne:optimise-next-prev-record
Sep 16, 2021
Commits on Feb 5, 2021
-
Optimise
next_record
andprev_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.
Configuration menu - View commit details
-
Copy full SHA for a8eda41 - Browse repository at this point
Copy the full SHA a8eda41View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf371f9 - Browse repository at this point
Copy the full SHA cf371f9View commit details -
Update test names so they run, and fix them
Methods are only run as test cases if they start with `test_`
Configuration menu - View commit details
-
Copy full SHA for 3f7a544 - Browse repository at this point
Copy the full SHA 3f7a544View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f80db0 - Browse repository at this point
Copy the full SHA 8f80db0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80d4281 - Browse repository at this point
Copy the full SHA 80d4281View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca36ab6 - Browse repository at this point
Copy the full SHA ca36ab6View commit details -
Ensure history is still filtered by the correct model
This means history for another model doesn't appear incorrectly.
Configuration menu - View commit details
-
Copy full SHA for e250831 - Browse repository at this point
Copy the full SHA e250831View commit details
Commits on Sep 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bb84236 - Browse repository at this point
Copy the full SHA bb84236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b9374 - Browse repository at this point
Copy the full SHA 31b9374View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.