How to Solve NameError: name 'template' is not defined -- bottle
Solution: Import the 'template' module
# Add the following line to the top of your code
from bottle import template
For more information:
bottle template
# Add the following line to the top of your code
from bottle import template
For more information:
bottle template