fix admin

This commit is contained in:
bakatrouble 2020-05-05 11:51:11 +03:00
parent 203efae85d
commit 4f5be9320a
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
from django.contrib import admin
from .models import TelegramBot
from .modules import EchoBotModuleConfig, ChannelHelperBotModuleConfig, OverlayBotModuleConfig, QueuedItem,\
CyberLinaBotModuleConfig
CyberLinaBotModuleConfig, ChannelHelperUser
@admin.register(TelegramBot)
@ -10,7 +10,8 @@ class TelegramBot(admin.ModelAdmin):
admin.site.register(EchoBotModuleConfig)
admin.site.register(ChannelHelperBotModuleConfig)
admin.site.register(OverlayBotModuleConfig)
admin.site.register(ChannelHelperBotModuleConfig)
admin.site.register(QueuedItem)
admin.site.register(ChannelHelperUser)
admin.site.register(CyberLinaBotModuleConfig)

View File

@ -1,5 +1,5 @@
from .overlay import OverlayBotModuleConfig
from .channel_helper import ChannelHelperBotModuleConfig, QueuedItem
from .channel_helper import ChannelHelperBotModuleConfig, QueuedItem, ChannelHelperUser
from .echo import EchoBotModuleConfig
from .cyberlina import CyberLinaBotModuleConfig
from .ping import PingBotModuleConfig