from django.contrib import admin
from bot.models import Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display_links = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )

    readonly_fields = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )

    list_display = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )

ce68de68ee6f2b9c37ef60adda935ee3c0bc43c8
<mask token>

<mask token>


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

<mask token>


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display_links = ('reddit_id', 'title', 'author', 'ups',
        'num_comments', 'created_at')
    readonly_fields = ('reddit_id', 'title', 'author', 'ups',
        'num_comments', 'created_at')
    list_display = ('reddit_id', 'title', 'author', 'ups', 'num_comments',
        'created_at')

from django.contrib import admin
from bot.models import Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display_links = ('reddit_id', 'title', 'author', 'ups',
        'num_comments', 'created_at')
    readonly_fields = ('reddit_id', 'title', 'author', 'ups',
        'num_comments', 'created_at')
    list_display = ('reddit_id', 'title', 'author', 'ups', 'num_comments',
        'created_at')

from django.contrib import admin
from bot.models import Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display_links = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )

    readonly_fields = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )

    list_display = (
        'reddit_id',
        'title',
        'author',
        'ups',
        'num_comments',
        'created_at',
    )
