forked from django-json-api/django-rest-framework-json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit f15e9a4
Fix included resource type inconsistency (django-json-api#229)
When setting `resource_name = None`, the related instance's resource
name is used in `relationships`, but `None` is used in `included`.
This is related to django-json-api#94 and django-json-api#124 1 parent b439112 commit f15e9a4
File tree
2 files changed
+10
-1
lines changed- example/tests/integration
- rest_framework_json_api
2 files changed
+10
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | + | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
106 | 111 |
| |
107 | 112 |
| |
108 | 113 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 | + | ||
296 | + | ||
297 | + | ||
298 | + | ||
295 | 299 |
| |
296 | 300 |
| |
297 | - | ||
301 | + | ||
298 | 302 |
| |
299 | 303 |
| |
300 | 304 |
| |
|
0 commit comments