<commit_before>from django.contrib import admin
from installer_config.models import Package, TerminalPrompt, EnvironmentProfile


class PackageAdmin(admin.ModelAdmin):
    model = Package
    list_display = ('id', 'display_name', 'version', 'website')


class TerminalPromptAdmin(admin.ModelAdmin):
    model = TerminalPrompt
    list_display = ('id', 'display_name', 'install_name', 'description')


class EnvironmentProfileAdmin(admin.ModelAdmin):
    model = EnvironmentProfile
    list_display = ('id', 'user', 'description',)


admin.site.register(Package, PackageAdmin)
admin.site.register(TerminalPrompt, TerminalPromptAdmin)
admin.site.register(EnvironmentProfile, EnvironmentProfileAdmin)<commit_msg>added userchoice and step models to admin panel<commit_after>from django.contrib import admin
from installer_config.models import Package, TerminalPrompt, EnvironmentProfile
from installer_config.models import UserChoice, Step


class PackageAdmin(admin.ModelAdmin):
    model = Package
    list_display = ('id', 'display_name', 'version', 'website')


class TerminalPromptAdmin(admin.ModelAdmin):
    model = TerminalPrompt
    list_display = ('id', 'display_name', 'install_name', 'description')


class EnvironmentProfileAdmin(admin.ModelAdmin):
    model = EnvironmentProfile
    list_display = ('id', 'user', 'description',)


class UserChoiceAdmin(admin.ModelAdmin):
    model = UserChoice
    list_display = ('id', 'description')


class StepAdmin(admin.ModelAdmin):
    model = Step
    list_display = ('step_type', 'url', 'args', 'dependency', 'user_choice')

admin.site.register(Package, PackageAdmin)
admin.site.register(TerminalPrompt, TerminalPromptAdmin)
admin.site.register(UserChoice, UserChoiceAdmin)
admin.site.register(Step, StepAdmin)
{'fraction_non_alphanumeric': 0.11117413499716393, 'fraction_numerical': 0.0, 'mean_word_length': 6.35, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '911442', 'n_tokens_mistral': 499, 'n_tokens_neox': 474, 'n_words': 114}