How to use the automatix.index.models.Menu function in automatix

To help you get started, we’ve selected a few automatix examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kermitfr / kermit-webui / src / kermit / index / admin.py View on Github external
from automatix.index.models import Menu
from django.contrib import admin


class MenuAdmin(admin.ModelAdmin):
    fieldsets = [
        ("General",   {'fields': ['name', 'url', 'order', 'enabled']}),
    ]
    list_display = ('name', 'url', 'order', 'enabled')
    search_fields = ['name', 'url']
    list_filter = ['enabled']
    
    
admin.site.register(Menu, MenuAdmin)

automatix

Automation wrapper for bash and python commands

MIT
Latest version published 4 months ago

Package Health Score

58 / 100
Full package analysis