update admin

This commit is contained in:
bakatrouble 2019-10-26 22:39:58 +03:00
parent ca6cf90b4c
commit 199cbb487a

View File

@ -4,7 +4,11 @@ from .models import Feed
from feeds.modules import EchoFeedModuleConfig, DankMemesFeedModuleConfig, ShittyWatercolourFeedModuleConfig,\
VKFeedModuleConfig, VKMusicFeedModuleConfig, WPComicFeedModuleConfig
admin.site.register(Feed)
@admin.register(Feed)
class FeedAdmin(admin.ModelAdmin):
list_display = '__str__', 'lock',
admin.site.register(EchoFeedModuleConfig)
admin.site.register(DankMemesFeedModuleConfig)
admin.site.register(ShittyWatercolourFeedModuleConfig)