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