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