from django.contrib import admin
from .models import Post

class PostAdmin(admin.ModelAdmin):
    list_display = ('body', 'timestamp', 'like', 'dislike', 'typeOfPost','delete')

admin.site.register(Post, PostAdmin)