remove unneeded query of all objects

This commit is contained in:
2020-12-05 19:23:46 +11:00
parent 92fd582981
commit a45528e5ae
5 changed files with 0 additions and 5 deletions

View File

@@ -53,7 +53,6 @@ def new_covertype():
db.session.add(covertype)
db.session.commit()
st.SetMessage( "Created new Covertype (id={})".format(covertype.id) )
covertypes = Covertype.query.order_by('id').all()
return redirect( '/covertypes' )
################################################################################