remove unused GetCovertypes()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user