-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't populate excluded fields in populate history (#410)
* Adds tests for two excluded-fields fixes: - tests the management command on an historical record which has excluded fields - tests the excluded fields are retrieved from the current model instance * Adds test for foreign-key excluded field. * Reduces number of queries made by `History-Model.get_instance`. Previously, it was pre-loading directly related objects. * Don't populate excluded fields while populating existing model history * Adjustments * Updated AUTHORS and log CHANGES * Renames excluded_fields -> _history_excluded_fields update_record -> initial_history_record * Fixed accidental deletions to CHANGES.rst and AUTHORS.rst
- Loading branch information
Ross Mechanic
authored
Jun 15, 2018
1 parent
ad523eb
commit a3b86f1
Showing
7 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters