Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
d6870074
Commit
d6870074
authored
Oct 13, 2013
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1171 from alazaro/patch-1
Add missing commas in relations.md
parents
97fbc5ca
89ac03af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
docs/api-guide/relations.md
+7
-7
No files found.
docs/api-guide/relations.md
View file @
d6870074
...
@@ -54,7 +54,7 @@ Would serialize to the following representation.
...
@@ -54,7 +54,7 @@ Would serialize to the following representation.
{
{
'album_name': 'Things We Lost In The Fire',
'album_name': 'Things We Lost In The Fire',
'artist': 'Low'
'artist': 'Low'
,
'tracks': [
'tracks': [
'1: Sunflower',
'1: Sunflower',
'2: Whitetail',
'2: Whitetail',
...
@@ -86,7 +86,7 @@ Would serialize to a representation like this:
...
@@ -86,7 +86,7 @@ Would serialize to a representation like this:
{
{
'album_name': 'The Roots',
'album_name': 'The Roots',
'artist': 'Undun'
'artist': 'Undun'
,
'tracks': [
'tracks': [
89,
89,
90,
90,
...
@@ -121,7 +121,7 @@ Would serialize to a representation like this:
...
@@ -121,7 +121,7 @@ Would serialize to a representation like this:
{
{
'album_name': 'Graceland',
'album_name': 'Graceland',
'artist': 'Paul Simon'
'artist': 'Paul Simon'
,
'tracks': [
'tracks': [
'http://www.example.com/api/tracks/45/',
'http://www.example.com/api/tracks/45/',
'http://www.example.com/api/tracks/46/',
'http://www.example.com/api/tracks/46/',
...
@@ -159,7 +159,7 @@ Would serialize to a representation like this:
...
@@ -159,7 +159,7 @@ Would serialize to a representation like this:
{
{
'album_name': 'Dear John',
'album_name': 'Dear John',
'artist': 'Loney Dear'
'artist': 'Loney Dear'
,
'tracks': [
'tracks': [
'Airport Surroundings',
'Airport Surroundings',
'Everything Turns to You',
'Everything Turns to You',
...
@@ -194,7 +194,7 @@ Would serialize to a representation like this:
...
@@ -194,7 +194,7 @@ Would serialize to a representation like this:
{
{
'album_name': 'The Eraser',
'album_name': 'The Eraser',
'artist': 'Thom Yorke'
'artist': 'Thom Yorke'
,
'track_listing': 'http://www.example.com/api/track_list/12/',
'track_listing': 'http://www.example.com/api/track_list/12/',
}
}
...
@@ -234,7 +234,7 @@ Would serialize to a nested representation like this:
...
@@ -234,7 +234,7 @@ Would serialize to a nested representation like this:
{
{
'album_name': 'The Grey Album',
'album_name': 'The Grey Album',
'artist': 'Danger Mouse'
'artist': 'Danger Mouse'
,
'tracks': [
'tracks': [
{'order': 1, 'title': 'Public Service Announcement'},
{'order': 1, 'title': 'Public Service Announcement'},
{'order': 2, 'title': 'What More Can I Say'},
{'order': 2, 'title': 'What More Can I Say'},
...
@@ -271,7 +271,7 @@ This custom field would then serialize to the following representation.
...
@@ -271,7 +271,7 @@ This custom field would then serialize to the following representation.
{
{
'album_name': 'Sometimes I Wish We Were an Eagle',
'album_name': 'Sometimes I Wish We Were an Eagle',
'artist': 'Bill Callahan'
'artist': 'Bill Callahan'
,
'tracks': [
'tracks': [
'Track 1: Jim Cain (04:39)',
'Track 1: Jim Cain (04:39)',
'Track 2: Eid Ma Clack Shaw (04:19)',
'Track 2: Eid Ma Clack Shaw (04:19)',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment