blob: 9d88183806f0e4f99e1d923f35bb839354999a7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from django.contrib import admin
from .models import Syndicate, SyndicatedItem
@admin.register(Syndicate)
class SyndicateAdmin(admin.ModelAdmin):
pass
@admin.register(SyndicatedItem)
class SyndicatedItemAdmin(admin.ModelAdmin):
list_display = ('__str__', 'syndicated_to',)
pass
|