from django.contrib import admin
from app_blog.models import *

# Register your models here.
class ArticleAdmin(admin.ModelAdmin):
    class Media:
        js = (
            '/static/js/kindeditor-4.1.10/kindeditor-min.js',
            '/static/js/kindeditor-4.1.10/lang/zh_CN.js',
            '/static/js/kindeditor-4.1.10/config.js',
        )

# admin.site.register(User)
admin.site.register(navbars_blog)
admin.site.register(Category)
admin.site.register(Article, ArticleAdmin)
admin.site.register(Comment)
admin.site.register(Series)
admin.site.register(Picture)
admin.site.register(Picture2, ArticleAdmin)
admin.site.register(Video)