Move the script into Django project