diff --git a/GeoffreyApp/docs/source/models.rst b/GeoffreyApp/docs/source/models.rst index 45adca6..6cdfe5c 100644 --- a/GeoffreyApp/docs/source/models.rst +++ b/GeoffreyApp/docs/source/models.rst @@ -36,3 +36,6 @@ Models used in Geoffrey .. autoclass:: GeoffreyApp.models.Market :members: + +.. autoclass:: GeoffreyApp.models.Town + :members: diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index ff467e1..448dcfe 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -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