<commit_before>"""
WSGI config for BAMA_Analytics project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BAMA_Analytics.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()<commit_msg>add settings dir to system path for wsgi<commit_after>"""
WSGI config for BAMA_Analytics project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BAMA_Analytics.settings")

paths = [
    '/srv/django-projects/BAMA_Analytics',
    '/srv/django-projects/BAMA_Analytics/BAMA_Analytics'
]

for path in paths:
    if path not in sys.path:
        sys.path.append(path)

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
{'fraction_non_alphanumeric': 0.10399257195914577, 'fraction_numerical': 0.003714020427112349, 'mean_word_length': 5.125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2093008', 'n_tokens_mistral': 372, 'n_tokens_neox': 356, 'n_words': 89}