from django.contrib import admin

from . import models

# 课程相关
admin.site.register(models.CourseCategory)
admin.site.register(models.CourseSubCategory)
admin.site.register(models.DegreeCourse)
admin.site.register(models.Course)
admin.site.register(models.Scholarship)
admin.site.register(models.PricePolicy)
admin.site.register(models.Coupon)
admin.site.register(models.CourseChapter)
admin.site.register(models.CourseSection)
admin.site.register(models.CourseOutline)
admin.site.register(models.CourseDetail)
admin.site.register(models.OftenAskedQuestion)
admin.site.register(models.Teacher)

# 深科技相关
admin.site.register(models.ArticleSource)
admin.site.register(models.Article)
admin.site.register(models.Comment)
admin.site.register(models.Collection)

# 账户相关
admin.site.register(models.Account)
admin.site.register(models.UserAuthToken)

