remove unused GetCovertypes()

This commit is contained in:
2020-12-03 19:00:22 +11:00
parent b6ba97f049
commit 2a9b9c9cf6

View File

@@ -39,11 +39,6 @@ def covertypes():
covertypes = Covertype.query.order_by('id').all()
return render_template( "show_id_name.html", objects=covertypes, page_title='Show All Covertypes', url_base='covertype')
def GetCovertypes():
covertypes = Covertype.query.order_by('name').all()
cs = CovertypeSchema(many=True)
return cs.dump( covertypes )
################################################################################
# /covertype/<id> -> GET/POST(save or delete) -> shows/edits/delets a single
# covertype