<reponame>im-so-sorry/barad-dur<gh_stars>0
from django.contrib import admin

from apps.stream.models import Rule, Stream


class RuleInline(admin.TabularInline):
    model = Rule


# @admin.register(Stream)
# class StreamAdmin(admin.ModelAdmin):
#     inlines = [RuleInline]

@admin.register(Rule)
class RuleAdmin(admin.ModelAdmin):
    pass

from django.contrib import admin

from apps.stream.models import Rule, Stream


class RuleInline(admin.TabularInline):
    model = Rule


# @admin.register(Stream)
# class StreamAdmin(admin.ModelAdmin):
#     inlines = [RuleInline]

@admin.register(Rule)
class RuleAdmin(admin.ModelAdmin):
    pass
# @admin.register(Stream) # class StreamAdmin(admin.ModelAdmin): #     inlines = [RuleInline]