<commit_before>from django.contrib.gis.db import models
from django.utils.translation import ugettext_lazy as _

from countries.fields import InternalCountryFileField


class Country(models.Model):
    name = models.CharField(verbose_name=_('name'), max_length=100)
    polyfile = InternalCountryFileField(verbose_name=_('polyfile'))
    simplified_polygon = models.MultiPolygonField(verbose_name=_('simplified area'))<commit_msg>use name as string representation for country<commit_after>from django.contrib.gis.db import models
from django.utils.translation import ugettext_lazy as _

from countries.fields import InternalCountryFileField


class Country(models.Model):
    name = models.CharField(verbose_name=_('name'), max_length=100)
    polyfile = InternalCountryFileField(verbose_name=_('polyfile'))
    simplified_polygon = models.MultiPolygonField(verbose_name=_('simplified area'))

    def __str__(self):
        return self.name
{'fraction_non_alphanumeric': 0.09139213602550478, 'fraction_numerical': 0.006376195536663124, 'mean_word_length': 6.536, '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': '7542719', 'n_tokens_mistral': 268, 'n_tokens_neox': 264, 'n_words': 55}