<commit_before># -*- coding: utf-8 -*-

from django.contrib import admin
from olwidget.admin import GeoModelAdmin

from .models import Region


admin.site.register(Region, GeoModelAdmin)

<commit_msg>Своя модель для админской формы региона<commit_after># -*- coding: utf-8 -*-

from django.contrib import admin
from olwidget.admin import GeoModelAdmin

from .models import Region


class RegionGeoModel(GeoModelAdmin):
    options = {
        'default_zoom': 6,
        'zoom_to_data_extent': False,
    }


admin.site.register(Region, RegionGeoModel)
{'fraction_non_alphanumeric': 0.09800362976406533, 'fraction_numerical': 0.0054446460980036296, 'mean_word_length': 4.111111111111111, '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': '6391052', 'n_tokens_mistral': 178, 'n_tokens_neox': 179, 'n_words': 46}