from django.contrib import admin
from article.models import Article
from article.models import Comment

# Register your models here.

# class ArticleAdmin()
admin.site.register(Article)

class CommentAdmin(admin.ModelAdmin):
	display_fields = ["post","author","created"]

admin.site.register(Comment,CommentAdmin)
08539f87abe7228c9823dfdc327ecb431e2bf28a
<mask token>


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


<mask token>

<mask token>


class CommentAdmin(admin.ModelAdmin):
    display_fields = ['post', 'author', 'created']


<mask token>

<mask token>
admin.site.register(Article)


class CommentAdmin(admin.ModelAdmin):
    display_fields = ['post', 'author', 'created']


admin.site.register(Comment, CommentAdmin)

from django.contrib import admin
from article.models import Article
from article.models import Comment
admin.site.register(Article)


class CommentAdmin(admin.ModelAdmin):
    display_fields = ['post', 'author', 'created']


admin.site.register(Comment, CommentAdmin)

from django.contrib import admin
from article.models import Article
from article.models import Comment

# Register your models here.

# class ArticleAdmin()
admin.site.register(Article)

class CommentAdmin(admin.ModelAdmin):
	display_fields = ["post","author","created"]

admin.site.register(Comment,CommentAdmin)