You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
626 B
32 lines
626 B
from django.contrib import admin
|
|
|
|
from .models import SchoolSchedule, LiveLesson, SchoolScheduleImage
|
|
|
|
|
|
@admin.register(LiveLesson)
|
|
class LiveLessonAdmin(admin.ModelAdmin):
|
|
list_display = (
|
|
'id',
|
|
'title',
|
|
'stream',
|
|
'cover',
|
|
'date',
|
|
'is_camp',
|
|
'created_at',
|
|
'update_at',
|
|
)
|
|
|
|
|
|
@admin.register(SchoolSchedule)
|
|
class SchoolScheduleAdmin(admin.ModelAdmin):
|
|
list_display = (
|
|
'weekday',
|
|
'title',
|
|
'month_price',
|
|
'is_camp',
|
|
)
|
|
|
|
|
|
@admin.register(SchoolScheduleImage)
|
|
class SchoolScheduleImageAdmin(admin.ModelAdmin):
|
|
pass
|
|
|