-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid query explosion for related fields where I can user pk_only_opt… (
#374) * Fix factory boy dependency * fix factory-boy version in setup.py and requirements-development.txt * Fix setup.py factory boy dependency * Avoid query explosion for related fields where I can user pk_only_optimization * Fix autoPrefetchMixin for ReverseOneToOneDescriptor * Fix code style * Avoid query objects in ModelSerializer to_representation method * Fix code queality error * Fix problem that makes None related objects not being renderer * Fix problem that makes None related objects not being renderer * _readable_field property is missing in drf<3.2
- Loading branch information
1 parent
b0257c0
commit b4dffb8
Showing
6 changed files
with
67 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ Sphinx | |
sphinx_rtd_theme | ||
tox | ||
django-debug-toolbar | ||
packaging==16.8 | ||
packaging==16.8 |
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