Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
ParsePy
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
OpenEdx
ParsePy
Commits
65c59fbb
Commit
65c59fbb
authored
Mar 11, 2013
by
Raphael Lullis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More updates to README.
parent
5884cffd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.mkd
+2
-2
No files found.
README.mkd
View file @
65c59fbb
...
@@ -186,14 +186,14 @@ the appropiates classes to work with them. One such example is
...
@@ -186,14 +186,14 @@ the appropiates classes to work with them. One such example is
`GeoPoint`
, where you store latitude and longitude
`GeoPoint`
, where you store latitude and longitude
~~~
~~ {python}
~~~
~~ {python}
from parse_rest.datatypes import Object
from parse_rest.datatypes import Object
, GeoPoint
class Restaurant(Object):
class Restaurant(Object):
pass
pass
restaurant = Restaurant(name="Los Pollos Hermanos")
restaurant = Restaurant(name="Los Pollos Hermanos")
# coordinates as floats.
# coordinates as floats.
restaurant.location =
parse_rest.
GeoPoint(latitude=12.0, longitude=-34.45)
restaurant.location = GeoPoint(latitude=12.0, longitude=-34.45)
restaurant.save()
restaurant.save()
~~~
~~
~~~
~~
...
...
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