from django.contrib import admin

from .models import Shop, Street, City


@admin.register(City)
class CityAdmin(admin.ModelAdmin):
    pass

@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    list_display = ('name', 'city')
    list_filter = ('city',)


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = ('street', 'city')

530ff8c2f9439a213a126f074fdfaa0156727599
<mask token>


@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = 'street', 'city'

<mask token>


@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    list_display = 'name', 'city'
    list_filter = 'city',


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = 'street', 'city'

<mask token>


@admin.register(City)
class CityAdmin(admin.ModelAdmin):
    pass


@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    list_display = 'name', 'city'
    list_filter = 'city',


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = 'street', 'city'

from django.contrib import admin
from .models import Shop, Street, City


@admin.register(City)
class CityAdmin(admin.ModelAdmin):
    pass


@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    list_display = 'name', 'city'
    list_filter = 'city',


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = 'street', 'city'

from django.contrib import admin

from .models import Shop, Street, City


@admin.register(City)
class CityAdmin(admin.ModelAdmin):
    pass

@admin.register(Street)
class StreetAdmin(admin.ModelAdmin):
    list_display = ('name', 'city')
    list_filter = ('city',)


@admin.register(Shop)
class ShopAdmin(admin.ModelAdmin):
    list_display = ('street', 'city')
