#!/bin/sh
shell_code=''' '
# shell code
if command -v python2.7 > /dev/null && test -e /usr/lib/django16/django/bin/django-admin.py
then
    exec python2.7 "$0" "$@"
else
    echo "Cannot find installed version of python-django16." >&2
    exit 1
fi

python_code='''
# python code
# ONLY use DOUBLE quotes <"> after this line
import sys
if not '/usr/lib/django16' in sys.path:
    sys.path.insert(0, '/usr/lib/django16')

from django.core import management

if __name__ == "__main__":
    management.execute_from_command_line()

# End of Python code. Do not modify this line. #'
