<commit_before>from django.contrib import admin
from upy.contrib.gmaps.widgets import GoogleMapsAddressWidget
from upy.contrib.gmaps.fields import AddressField
from django.conf import settings


class GmapsAdmin(admin.ModelAdmin):
    formfield_overrides = {
        AddressField: {'widget': GoogleMapsAddressWidget},    <commit_msg>gmaps admin<commit_after>from django.contrib import admin
from upy.contrib.gmaps.widgets import GoogleMapsAddressWidget
from upy.contrib.gmaps.fields import AddressField
from django.conf import settings


class GmapsAdmin(admin.ModelAdmin):
    list_display = ('geoaddress','continent','country','city','address','zip_code')
    list_filter = ('continent',)
    search_fields = ('geoaddress','continent','country','city','address','zip_code')
    fieldsets = (
        (None, {'fields': (('continent','country'),('area','city',),
                           ('address','zip_code'),('geoaddress',),('geolocation',))}),
    )
    formfield_overrides = {
        AddressField: {'widget': GoogleMapsAddressWidget},    
{'fraction_non_alphanumeric': 0.13766730401529637, 'fraction_numerical': 0.0, 'mean_word_length': 5.017241379310345, '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': '744437', 'n_tokens_mistral': 292, 'n_tokens_neox': 295, 'n_words': 56}