this runs with a basic model and even more basic test, but I'm not committing those yet as I'm still playing with the model (lest I make 30 revisions right off the bat) Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
16 lines
387 B
Python
16 lines
387 B
Python
"""Manage ircbot models and admin actions in the admin interface."""
|
|
import logging
|
|
|
|
from django.contrib import admin
|
|
|
|
from ircbot.models import Alias, BotUser, IrcChannel, IrcPlugin, IrcServer
|
|
|
|
log = logging.getLogger('ircbot.admin')
|
|
|
|
|
|
admin.site.register(Alias)
|
|
admin.site.register(BotUser)
|
|
admin.site.register(IrcChannel)
|
|
admin.site.register(IrcPlugin)
|
|
admin.site.register(IrcServer)
|