from django.contrib import admin

# Register your models here.
from .models import PostComment, Post



@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['photo', 'created_at']


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']
1f6b1e29c0efdae8db62f37f715402ac547f9639
<mask token>


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']

<mask token>


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


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']

<mask token>


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['photo', 'created_at']


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']

from django.contrib import admin
from .models import PostComment, Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['photo', 'created_at']


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']

from django.contrib import admin

# Register your models here.
from .models import PostComment, Post



@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ['photo', 'created_at']


@admin.register(PostComment)
class PostCommentAdmin(admin.ModelAdmin):
    list_display = ['post_id', 'content', 'created_at']