<commit_before>import os

from django.conf import settings
from django.core.files.storage import FileSystemStorage


MEDIA_ROOT = getattr(settings, "FILEMANAGER_MEDIA_ROOT", os.path.join(settings.MEDIA_ROOT, 'uploads'))

MEDIA_URL = getattr(settings, "FILEMANAGER_MEDIA_URL", os.path.join(settings.MEDIA_URL, 'uploads'))

STORAGE = getattr(settings, "FILEMANAGER_STORAGE", FileSystemStorage(location=MEDIA_ROOT, base_url=MEDIA_URL))<commit_msg>add directory (maybe replace dedicated url and root) setting<commit_after>import os

from django.conf import settings
from django.core.files.storage import FileSystemStorage


DIRECTORY = getattr(settings, 'FILEMANAGER_DIRECTORY', 'uploads')

MEDIA_ROOT = getattr(settings, "FILEMANAGER_MEDIA_ROOT", os.path.join(settings.MEDIA_ROOT, 'uploads'))

MEDIA_URL = getattr(settings, "FILEMANAGER_MEDIA_URL", os.path.join(settings.MEDIA_URL, 'uploads'))

STORAGE = getattr(settings, "FILEMANAGER_STORAGE", FileSystemStorage(location=MEDIA_ROOT, base_url=MEDIA_URL))
{'fraction_non_alphanumeric': 0.10878243512974052, 'fraction_numerical': 0.0, 'mean_word_length': 9.131313131313131, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2096063', 'n_tokens_mistral': 340, 'n_tokens_neox': 332, 'n_words': 61}