Fixed some issues in the docs
parent
5c3010d233
commit
d51b78af8d
|
@ -36,3 +36,6 @@ Models used in Geoffrey
|
||||||
|
|
||||||
.. autoclass:: GeoffreyApp.models.Market
|
.. autoclass:: GeoffreyApp.models.Market
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
.. autoclass:: GeoffreyApp.models.Town
|
||||||
|
:members:
|
||||||
|
|
|
@ -358,7 +358,7 @@ class Market(Location):
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": "Town",
|
"type": "Market",
|
||||||
"name": "Location",
|
"name": "Location",
|
||||||
"x_coord": 0,
|
"x_coord": 0,
|
||||||
"z_coord": 0,
|
"z_coord": 0,
|
||||||
|
@ -392,7 +392,7 @@ class Resource(models.Model):
|
||||||
@property
|
@property
|
||||||
def json(self):
|
def json(self):
|
||||||
"""
|
"""
|
||||||
JSON representation of the town
|
JSON representation of the Resource
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue