from django.contrib import admin

# Register your models here.

from .models import Bot, BotPlugin, Plugin


class PluginInline(admin.TabularInline):
    model = Plugin
    extra = 1


class BotPluginAdmin(admin.ModelAdmin):
    inlines = (PluginInline,)


class BotAdmin(admin.ModelAdmin):
    inlines = (PluginInline,)


admin.site.register(Bot, BotAdmin)
admin.site.register(BotPlugin, BotPluginAdmin)

e04d8fd7958842e7a5c9660a693d8a27e8596f7e
<mask token>


class BotPluginAdmin(admin.ModelAdmin):
    inlines = PluginInline,


class BotAdmin(admin.ModelAdmin):
    inlines = PluginInline,


<mask token>

<mask token>


class PluginInline(admin.TabularInline):
    model = Plugin
    extra = 1


class BotPluginAdmin(admin.ModelAdmin):
    inlines = PluginInline,


class BotAdmin(admin.ModelAdmin):
    inlines = PluginInline,


<mask token>

<mask token>


class PluginInline(admin.TabularInline):
    model = Plugin
    extra = 1


class BotPluginAdmin(admin.ModelAdmin):
    inlines = PluginInline,


class BotAdmin(admin.ModelAdmin):
    inlines = PluginInline,


admin.site.register(Bot, BotAdmin)
admin.site.register(BotPlugin, BotPluginAdmin)

from django.contrib import admin
from .models import Bot, BotPlugin, Plugin


class PluginInline(admin.TabularInline):
    model = Plugin
    extra = 1


class BotPluginAdmin(admin.ModelAdmin):
    inlines = PluginInline,


class BotAdmin(admin.ModelAdmin):
    inlines = PluginInline,


admin.site.register(Bot, BotAdmin)
admin.site.register(BotPlugin, BotPluginAdmin)

from django.contrib import admin

# Register your models here.

from .models import Bot, BotPlugin, Plugin


class PluginInline(admin.TabularInline):
    model = Plugin
    extra = 1


class BotPluginAdmin(admin.ModelAdmin):
    inlines = (PluginInline,)


class BotAdmin(admin.ModelAdmin):
    inlines = (PluginInline,)


admin.site.register(Bot, BotAdmin)
admin.site.register(BotPlugin, BotPluginAdmin)
