<commit_before>#!/usr/bin/env python

# This manage.py exists for the purpose of creating migrations
import sys

import django
from django.conf import settings
from django.core.management import execute_from_command_line

settings.configure(
    ROOT_URLCONF='',
    DATABASES={'default':
               {'ENGINE': 'django.db.backends.sqlite3',
                'NAME': 'test.db',
                }},
    PAYPAL_IDENTITY_TOKEN='',
    INSTALLED_APPS=[
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'paypal.pro',
        'paypal.standard',
        'paypal.standard.ipn',
        'paypal.standard.pdt',
    ] + (['south'] if django.VERSION < (1, 7) else []),
    CACHES={
        'default': {
            'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
            'TIMEOUT': 0,
            'KEY_PREFIX': 'paypal_tests_',
        }
    },
    MIDDLEWARE_CLASSES=[],
)

if __name__ == '__main__':
    execute_from_command_line(sys.argv)
<commit_msg>Django 1.9 fix to manage.py<commit_after>#!/usr/bin/env python

# This manage.py exists for the purpose of creating migrations
import sys

import django
from django.conf import settings
from django.core.management import execute_from_command_line

settings.configure(
    ROOT_URLCONF='paypal.standard.ipn.tests.test_urls',  # So Django 1.9 doesn't die
    DATABASES={'default':
               {'ENGINE': 'django.db.backends.sqlite3',
                'NAME': 'test.db',
                }},
    PAYPAL_IDENTITY_TOKEN='',
    INSTALLED_APPS=[
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'paypal.pro',
        'paypal.standard',
        'paypal.standard.ipn',
        'paypal.standard.pdt',
    ] + (['south'] if django.VERSION < (1, 7) else []),
    CACHES={
        'default': {
            'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
            'TIMEOUT': 0,
            'KEY_PREFIX': 'paypal_tests_',
        }
    },
    MIDDLEWARE_CLASSES=[],
)

if __name__ == '__main__':
    execute_from_command_line(sys.argv)

{'fraction_non_alphanumeric': 0.13791423001949318, 'fraction_numerical': 0.005847953216374269, 'mean_word_length': 2.4974446337308347, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3537635', 'n_tokens_mistral': 693, 'n_tokens_neox': 669, 'n_words': 123}