update admin
This commit is contained in:
parent
ca6cf90b4c
commit
199cbb487a
@ -4,7 +4,11 @@ from .models import Feed
|
|||||||
from feeds.modules import EchoFeedModuleConfig, DankMemesFeedModuleConfig, ShittyWatercolourFeedModuleConfig,\
|
from feeds.modules import EchoFeedModuleConfig, DankMemesFeedModuleConfig, ShittyWatercolourFeedModuleConfig,\
|
||||||
VKFeedModuleConfig, VKMusicFeedModuleConfig, WPComicFeedModuleConfig
|
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(EchoFeedModuleConfig)
|
||||||
admin.site.register(DankMemesFeedModuleConfig)
|
admin.site.register(DankMemesFeedModuleConfig)
|
||||||
admin.site.register(ShittyWatercolourFeedModuleConfig)
|
admin.site.register(ShittyWatercolourFeedModuleConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user