from django.contrib import admin
from .models import Blog, BlogComment, BlogView, Like, Category


class BlogListAdmin(admin.ModelAdmin):
    list_display = ('title', 'featured', 'author',
                    'category',)
    list_filter = ('author',
                   'category',)

    list_editable = ('featured',)


admin.site.register(Blog,  BlogListAdmin)
admin.site.register(Category)
admin.site.register(BlogComment)
admin.site.register(BlogView)
admin.site.register(Like)

2faf9f6047c910408b9d97c442a7c3389279819d
<mask token>


class BlogListAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class BlogListAdmin(admin.ModelAdmin):
    list_display = 'title', 'featured', 'author', 'category'
    list_filter = 'author', 'category'
    list_editable = 'featured',


<mask token>

<mask token>


class BlogListAdmin(admin.ModelAdmin):
    list_display = 'title', 'featured', 'author', 'category'
    list_filter = 'author', 'category'
    list_editable = 'featured',


admin.site.register(Blog, BlogListAdmin)
admin.site.register(Category)
admin.site.register(BlogComment)
admin.site.register(BlogView)
admin.site.register(Like)

from django.contrib import admin
from .models import Blog, BlogComment, BlogView, Like, Category


class BlogListAdmin(admin.ModelAdmin):
    list_display = 'title', 'featured', 'author', 'category'
    list_filter = 'author', 'category'
    list_editable = 'featured',


admin.site.register(Blog, BlogListAdmin)
admin.site.register(Category)
admin.site.register(BlogComment)
admin.site.register(BlogView)
admin.site.register(Like)

from django.contrib import admin
from .models import Blog, BlogComment, BlogView, Like, Category


class BlogListAdmin(admin.ModelAdmin):
    list_display = ('title', 'featured', 'author',
                    'category',)
    list_filter = ('author',
                   'category',)

    list_editable = ('featured',)


admin.site.register(Blog,  BlogListAdmin)
admin.site.register(Category)
admin.site.register(BlogComment)
admin.site.register(BlogView)
admin.site.register(Like)
