-
Notifications
You must be signed in to change notification settings - Fork 299
Commit bba4f6e
author
committedTim Csitkovics
Do not lazy load forward relations
If the forward relations are included, the renderer will break, so this optimization only works if it is not included.
fixup! Do not lazy load forward relations
fixup! Do not lazy load forward relations
fixup! Do not lazy load forward relations
fixup! Do not lazy load forward relations
fixup! Do not lazy load forward relations
Include test case
Small refactoring1 parent 96c533b commit bba4f6e
File tree
2 files changed
+63
-27
lines changed- example/tests
- rest_framework_json_api
2 files changed
+63
-27
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
6 | - | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| |||
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
21 | - | ||
22 | - | ||
23 | + | ||
24 | + | ||
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
33 | 65 |
| |
34 | 66 |
| |
35 | 67 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 | - | ||
186 | - | ||
187 | - | ||
188 | - | ||
189 | - | ||
190 | - | ||
191 | - | ||
192 | - | ||
193 | - | ||
194 | - | ||
195 | - | ||
196 | - | ||
197 | - | ||
185 | + | ||
186 | + | ||
198 | 187 |
| |
199 | 188 |
| |
200 | 189 |
| |
201 | - | ||
202 | - | ||
203 | - | ||
204 | - | ||
205 | - | ||
206 | - | ||
207 | - | ||
208 | - | ||
209 | - | ||
210 | - | ||
211 | - | ||
212 | 190 |
| |
213 | 191 |
| |
192 | + | ||
193 | + | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | ||
199 | + | ||
200 | + | ||
201 | + | ||
202 | + | ||
203 | + | ||
204 | + | ||
205 | + | ||
206 | + | ||
207 | + | ||
208 | + | ||
209 | + | ||
210 | + | ||
211 | + | ||
212 | + | ||
213 | + | ||
214 | + | ||
215 | + | ||
216 | + | ||
217 | + | ||
214 | 218 |
| |
215 | 219 |
| |
216 | 220 |
| |
|
0 commit comments