How to Solve NameError: name 'create_page' is not defined -- cms

Solution: Import the 'create_page' module

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

from cms import create_page

 

For more information:
Python cms create_page