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