fix admin
This commit is contained in:
parent
203efae85d
commit
4f5be9320a
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user