How to Solve NameError: name 'Gist' is not defined -- flask

Solution: Import the 'Gist' module

To Solve the error, add the following line to the top of your code.

from flask.ext.gist import Gist

 

For more information:
Python flask Gist