How to Solve NameError: name 'cache_page' is not defined -- django
Erorr: name 'cache_page' is not defined
NameError: name 'cache_page' is not defined
Solution: Import the 'cache_page' module
# Add the following line to the top of your code
from django.views.decorators.cache import cache_page
For more information:
django cache_page