from django.contrib import admin
from .models import Restaurant

@admin.register(Restaurant)
class AdminRestaurant(admin.ModelAdmin):
    list_display = ('id', 'name', 'email', 'phone')
    list_filter = ('id', 'rating')

08a99f14640aba7297387e0b1f56fd7c74973b0a
<mask token>

<mask token>


@admin.register(Restaurant)
class AdminRestaurant(admin.ModelAdmin):
    <mask token>
    <mask token>

<mask token>


@admin.register(Restaurant)
class AdminRestaurant(admin.ModelAdmin):
    list_display = 'id', 'name', 'email', 'phone'
    list_filter = 'id', 'rating'

from django.contrib import admin
from .models import Restaurant


@admin.register(Restaurant)
class AdminRestaurant(admin.ModelAdmin):
    list_display = 'id', 'name', 'email', 'phone'
    list_filter = 'id', 'rating'

from django.contrib import admin
from .models import Restaurant

@admin.register(Restaurant)
class AdminRestaurant(admin.ModelAdmin):
    list_display = ('id', 'name', 'email', 'phone')
    list_filter = ('id', 'rating')
