summaryrefslogtreecommitdiff
path: root/app/normalize/admin.py
blob: cf6765848cad3eab70dec8df6231268856a0db3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.contrib import admin

from utils.widgets import AdminImageWidget, LGEntryForm

from .models import RelatedPost

@admin.register(RelatedPost)
class RelatedPostAdmin(admin.ModelAdmin):
    list_display = ('title', 'slug', 'pub_date', 'model_name')
    list_filter = ['model_name']

    class Media:
        js = ('next-prev-links.js',)