def init_django():
    global django, management, create_test_db, destroy_test_db
    global setup_test_environment, teardown_test_environment

    if not django:
        return

    from django.core import management

    project_dir = management.setup_environ(settings)
    sys.path.insert(0, project_dir)

    try:
        from django.test.utils import create_test_db, destroy_test_db
    except ImportError:
        from django.db import connection

        create_test_db = connection.creation.create_test_db
        destroy_test_db = connection.creation.destroy_test_db

    from django.test.utils import setup_test_environment, teardown_test_environment

    return True
Step 5a strips suffix -e if preceded by multiple vowel-consonant pairs,
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_django.py/init_django--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/stemmer.py/step_5a