From 9db2c3f547ebc4b648ea3cc3c2bbff15989a9a38 Mon Sep 17 00:00:00 2001 From: Emmanuelle Helly Date: Wed, 8 Jun 2022 09:21:12 +0200 Subject: [PATCH 1/2] Hide work and vegetation from admin --- georiviere/knowledge/admin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/georiviere/knowledge/admin.py b/georiviere/knowledge/admin.py index 4c448019..d6e60620 100644 --- a/georiviere/knowledge/admin.py +++ b/georiviere/knowledge/admin.py @@ -1,23 +1,21 @@ from django.contrib import admin from georiviere.knowledge.models import ( - Vegetation, VegetationState, VegetationStrata, VegetationType, + VegetationState, VegetationStrata, VegetationType, VegetationAgeClassDiversity, VegetationThicknessType, VegetationSpecificDiversity, - Work, WorkBankEffect, WorkFishContinuityEffect, WorkSedimentEffect, + WorkBankEffect, WorkFishContinuityEffect, WorkSedimentEffect, WorkWaterEffect, WorkBedEffect, WorkStreamInfluence, WorkMaterial, WorkState, WorkType, KnowledgeType, FollowUpType ) admin.site.register(KnowledgeType, admin.ModelAdmin) -admin.site.register(Vegetation) admin.site.register(VegetationAgeClassDiversity, admin.ModelAdmin) admin.site.register(VegetationSpecificDiversity, admin.ModelAdmin) admin.site.register(VegetationState, admin.ModelAdmin) admin.site.register(VegetationStrata, admin.ModelAdmin) admin.site.register(VegetationThicknessType, admin.ModelAdmin) admin.site.register(VegetationType, admin.ModelAdmin) -admin.site.register(Work) admin.site.register(WorkBankEffect, admin.ModelAdmin) admin.site.register(WorkStreamInfluence, admin.ModelAdmin) admin.site.register(WorkFishContinuityEffect, admin.ModelAdmin) From 5d576f8f4a44f15a4be990a9ebd24da0353bf88e Mon Sep 17 00:00:00 2001 From: Emmanuelle Helly Date: Mon, 9 Jan 2023 16:28:53 +0100 Subject: [PATCH 2/2] Add changelog --- docs/changelog.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 2eff3360..3a7aedcc 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,9 @@ CHANGELOG 1.0.3+dev (XXXX-XX-XX) ------------------------- +**Enhancement** + +* Hide Work and Vegetation from admin 1.0.3 (2022-12-15)