How to Solve NameError: name 'abort' is not defined -- bottle

Solution: Import the 'abort' module

# Add the following line to the top of your code
from bottle import abort

 

For more information:
bottle abort