summaryrefslogtreecommitdiff
path: root/app/syndication/admin.py
blob: b873eb74cbb5a2f5b37acfe769cab8226966bf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from django.contrib import admin

from .models import Syndicate, SyndicatedItem, FBOAuthToken


@admin.register(FBOAuthToken)
class FBOAuthTokenAdmin(admin.ModelAdmin):
    list_display = ('__str__', 'expires',)
    pass


@admin.register(Syndicate)
class SyndicateAdmin(admin.ModelAdmin):
    pass


@admin.register(SyndicatedItem)
class SyndicatedItemAdmin(admin.ModelAdmin):
    list_display = ('__str__', 'syndicated_to',)
    pass