in app/blueprints/sell/blueprint.py [0:0]
def display(auth_context):
"""
View function for displaying the sell page.
Parameters:
auth_context (dict): The authentication context of request.
See middlewares/auth.py for more information.
Output:
Rendered HTML page.
"""
# Prepares the sell form.
# See middlewares/form_validation.py for more information.
form = SellForm()
return render_template('sell.html', auth_context=auth_context, form=form)