Fixed some issues in the docs

doc_update
Joey Hines 2019-09-21 09:13:57 -05:00
parent 5c3010d233
commit d51b78af8d
2 changed files with 5 additions and 2 deletions

View File

@ -36,3 +36,6 @@ Models used in Geoffrey
.. autoclass:: GeoffreyApp.models.Market .. autoclass:: GeoffreyApp.models.Market
:members: :members:
.. autoclass:: GeoffreyApp.models.Town
:members:

View File

@ -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