moved to using a Get*ById() in condition, covertype, owned files and exposing them in jinja and using them in books.html to fix-up the fact those columns were now raw forein keys (ids)
This commit is contained in:
3
owned.py
3
owned.py
@@ -65,3 +65,6 @@ def owned(id):
|
||||
owned_form = OwnedForm(request.values, obj=owned)
|
||||
message=""
|
||||
return render_template("edit_id_name.html", owned=owned, alert=alert, message=message, form=owned_form, page_title='Edit Owned Type' )
|
||||
|
||||
def GetOwnedById(id):
|
||||
return Owned.query.get(id).name
|
||||
|
||||
Reference in New Issue
Block a user