From b02d7d50de67dac94d535105e732a11528cbeed4 Mon Sep 17 00:00:00 2001 From: Dana Lambert Date: Fri, 15 Oct 2021 14:38:14 +1300 Subject: [PATCH] Register models with django admin --- backend/right_tree/api/admin.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/right_tree/api/admin.py b/backend/right_tree/api/admin.py index 8c38f3f..36da8b8 100644 --- a/backend/right_tree/api/admin.py +++ b/backend/right_tree/api/admin.py @@ -1,3 +1,10 @@ from django.contrib import admin +from right_tree.api.models import Plant, SoilOrder, SoilLayer, SoilVariant, EcologicalRegion, EcologicalDistrictLayer, ToleranceLevel -# Register your models here. +admin.site.register(Plant) +admin.site.register(SoilOrder) +admin.site.register(SoilLayer) +admin.site.register(SoilVariant) +admin.site.register(EcologicalRegion) +admin.site.register(EcologicalDistrictLayer) +admin.site.register(ToleranceLevel)