<commit_before>from django.db import models
from django.core.files.storage import FileSystemStorage
from dnollkse import settings

f_storage = FileSystemStorage(location=settings.STATIC_ROOT + "/uploads/")

class Upload(models.Model):
    name = models.CharField(max_length=100)
    photo = models.ImageField(storage=f_storage)
<commit_msg>Added str method to uploaded images so that their names are displayed on admin site<commit_after>from django.db import models
from django.core.files.storage import FileSystemStorage
from dnollkse import settings

f_storage = FileSystemStorage(location=settings.STATIC_ROOT + "/uploads/")

class Upload(models.Model):
    name = models.CharField(max_length=100)
    photo = models.ImageField(storage=f_storage)

    def __str__(self):
        return self.name
{'fraction_non_alphanumeric': 0.08270676691729323, 'fraction_numerical': 0.007518796992481203, 'mean_word_length': 5.549180327868853, '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': '1499022', 'n_tokens_mistral': 236, 'n_tokens_neox': 225, 'n_words': 60}