telegram_bots/feeds/admin.py

19 lines
616 B
Python
Raw Normal View History

2019-01-11 19:16:01 +00:00
from django.contrib import admin
2019-01-19 02:50:16 +00:00
from .models import Feed
2019-01-26 06:36:56 +00:00
from feeds.modules import EchoFeedModuleConfig, DankMemesFeedModuleConfig, ShittyWatercolourFeedModuleConfig,\
VKFeedModuleConfig, VKMusicFeedModuleConfig, WPComicFeedModuleConfig
2019-01-11 19:16:01 +00:00
2019-11-12 17:13:56 +00:00
2019-10-26 19:39:58 +00:00
@admin.register(Feed)
class FeedAdmin(admin.ModelAdmin):
list_display = '__str__', 'lock',
2019-01-11 19:16:01 +00:00
admin.site.register(EchoFeedModuleConfig)
2019-01-26 06:36:56 +00:00
admin.site.register(DankMemesFeedModuleConfig)
admin.site.register(ShittyWatercolourFeedModuleConfig)
admin.site.register(VKFeedModuleConfig)
admin.site.register(VKMusicFeedModuleConfig)
admin.site.register(WPComicFeedModuleConfig)