2015-06-13 13:07:52 -05:00
|
|
|
"""Manage ircbot models and admin actions in the admin interface."""
|
|
|
|
import logging
|
|
|
|
|
2015-05-10 10:02:25 -05:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2021-04-25 08:59:01 -05:00
|
|
|
from ircbot.models import Alias, BotUser, IrcChannel, IrcPlugin, IrcServer
|
2015-05-10 10:02:25 -05:00
|
|
|
|
2015-06-13 13:07:52 -05:00
|
|
|
log = logging.getLogger('ircbot.admin')
|
|
|
|
|
|
|
|
|
2021-04-25 08:59:01 -05:00
|
|
|
admin.site.register(Alias)
|
|
|
|
admin.site.register(BotUser)
|
|
|
|
admin.site.register(IrcChannel)
|
|
|
|
admin.site.register(IrcPlugin)
|
|
|
|
admin.site.register(IrcServer)
|