from django.contrib import admin
from myblog.models import Post,Comment

# Register your models here.
class PostAdmin(admin.ModelAdmin):
    list_display = ['id','title','text']
admin.site.register(Post,PostAdmin)

class CommentAdmin(admin.ModelAdmin):
    list_display = ['id','author','text']
admin.site.register(Comment,CommentAdmin)


8946a5f5d127d1d1aaba37d001bdc0302db89064
<mask token>


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


<mask token>


class CommentAdmin(admin.ModelAdmin):
    list_display = ['id', 'author', 'text']


<mask token>

<mask token>


class PostAdmin(admin.ModelAdmin):
    list_display = ['id', 'title', 'text']


<mask token>


class CommentAdmin(admin.ModelAdmin):
    list_display = ['id', 'author', 'text']


<mask token>

<mask token>


class PostAdmin(admin.ModelAdmin):
    list_display = ['id', 'title', 'text']


admin.site.register(Post, PostAdmin)


class CommentAdmin(admin.ModelAdmin):
    list_display = ['id', 'author', 'text']


admin.site.register(Comment, CommentAdmin)

from django.contrib import admin
from myblog.models import Post, Comment


class PostAdmin(admin.ModelAdmin):
    list_display = ['id', 'title', 'text']


admin.site.register(Post, PostAdmin)


class CommentAdmin(admin.ModelAdmin):
    list_display = ['id', 'author', 'text']


admin.site.register(Comment, CommentAdmin)

from django.contrib import admin
from myblog.models import Post,Comment

# Register your models here.
class PostAdmin(admin.ModelAdmin):
    list_display = ['id','title','text']
admin.site.register(Post,PostAdmin)

class CommentAdmin(admin.ModelAdmin):
    list_display = ['id','author','text']
admin.site.register(Comment,CommentAdmin)

