<NME> admin.py
<BEF> from django.contrib import admin
from django import forms

from .models import Address
from .widgets import AddressWithMapWidget

class AddressAdmin(admin.ModelAdmin):


class HasExceptionFilter(admin.SimpleListFilter):
    title = _("exception")
    parameter_name = "has_exception"

    def lookups(self, request, model_admin):
        return (
            (1, _("Yes")),
            (0, _("No")),
        )

    def queryset(self, request, queryset):
        if self.value() is not None:
            ids = Address.objects.values_list("pk", flat=True)

            if self.value() == "1":
                return queryset.filter(pk__in=ids)

            elif self.value() == "0":
                return queryset.exclude(pk__in=ids)

        return queryset


class AddressAdmin(admin.ModelAdmin):
    list_display = ["address", "computed_address", "latitude", "longitude", "has_exception"]
    list_filter = [HasExceptionFilter]
    search_fields = ["address"]

    class form(forms.ModelForm):
        class Meta:
            widgets = {"address": AddressWithMapWidget({"class": "vTextField"})}

<MSG> cleanup

<DFF> @@ -1,7 +1,6 @@
 from django.contrib import admin
 from django import forms
 
-from .models import Address
 from .widgets import AddressWithMapWidget
 
 class AddressAdmin(admin.ModelAdmin):

cleanup