from django.contrib import admin
from app.restaurants.models import Table, Reservation


@admin.register(Table)
class TableAdmin(admin.ModelAdmin):
    list_display = ("number", "seats")


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    list_display = ("start", "end", "table")
ba34f77cbe7cb85163bff60cfe19924f35acff44
<mask token>


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    <mask token>

<mask token>


@admin.register(Table)
class TableAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    list_display = 'start', 'end', 'table'

<mask token>


@admin.register(Table)
class TableAdmin(admin.ModelAdmin):
    list_display = 'number', 'seats'


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    list_display = 'start', 'end', 'table'

from django.contrib import admin
from app.restaurants.models import Table, Reservation


@admin.register(Table)
class TableAdmin(admin.ModelAdmin):
    list_display = 'number', 'seats'


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    list_display = 'start', 'end', 'table'

from django.contrib import admin
from app.restaurants.models import Table, Reservation


@admin.register(Table)
class TableAdmin(admin.ModelAdmin):
    list_display = ("number", "seats")


@admin.register(Reservation)
class ReservationAdmin(admin.ModelAdmin):
    list_display = ("start", "end", "table")