Skip to content

Commit

Permalink
Merge pull request #10 from newmediadenver/readme
Browse files Browse the repository at this point in the history
fixing readme after colon change.
  • Loading branch information
ultimateboy committed Sep 8, 2015
2 parents 06ec0f0 + 6fef547 commit 98bb2bf
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,60 +43,60 @@ Then generate your eve schemas using:
This will create a `sample.settings.py` file with the following contents:

sample-resource = {
'sample-list' : {
'type' : 'list',
'schema' : {
'type' : 'string'
'sample-list': {
'type': 'list',
'schema': {
'type': 'string'
}
},
'sample-integer' : {
'type' : 'integer'
'sample-integer': {
'type': 'integer'
},
'sample-float' : {
'type' : 'float'
'type': 'float'
},
'sample-dict' : {
'type' : 'dict',
'schema' : {
'sample-embedded-list' : {
'type' : 'list',
'schema' : {
'type' : 'string'
'sample-dict': {
'type': 'dict',
'schema': {
'sample-embedded-list': {
'type': 'list',
'schema': {
'type': 'string'
}
},
'sample-embedded-dict' : {
'type' : 'dict',
'schema' : {
'sample-integer2' : {
'type' : 'integer'
'sample-embedded-dict': {
'type': 'dict',
'schema': {
'sample-integer2': {
'type': 'integer'
}
}
}
}
},
'sample-string' : {
'type' : 'string'
'sample-string': {
'type': 'string'
}
}

sample-resource2 = {
'sample-object-id' : {
'type' : 'objectid',
'data_relation' : {
'field' : '_id',
'resource' : 'sample-resource',
'embeddable' : True
'sample-object-id': {
'type': 'objectid',
'data_relation': {
'field': '_id',
'resource': 'sample-resource',
'embeddable': True
}
},
'sample-intrange' : {
'max' : 100,
'type' : 'integer',
'min' : 1
'sample-intrange': {
'max': 100,
'type': 'integer',
'min': 1
},
'sample-floatrange' : {
'max' : 1.0,
'type' : 'float',
'min' : 0.0
'sample-floatrange': {
'max': 1.0,
'type': 'float',
'min': 0.0
}
}

Expand Down

0 comments on commit 98bb2bf

Please sign in to comment.