From e50fe0d4e4f52243163eb7b6a82950bc0ba5925b Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Wed, 8 Jan 2020 14:33:25 -0600 Subject: [PATCH] Added attractions to admin page and fixed point of interest issue --- GeoffreyApp/admin.py | 1 + GeoffreyApp/models.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/GeoffreyApp/admin.py b/GeoffreyApp/admin.py index 6b0b4b4..7dd4eea 100644 --- a/GeoffreyApp/admin.py +++ b/GeoffreyApp/admin.py @@ -13,3 +13,4 @@ admin.site.register(PublicFarm) admin.site.register(Resource) admin.site.register(Market) admin.site.register(PointOfInterest) +admin.site.register(Attraction) diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index cf67a48..7dae7f8 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -284,7 +284,7 @@ class Location(models.Model): class PointOfInterest(Location): - info_page = "GeoffreyPointOfInterest" + info_page = "GeoffreyPointOfInterestInfo" class Shop(Location):