How to use automatix - 2 common examples

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 / widgets / tests.py View on Github external
def test_templatetag(self):
        
        class TestWidget(Widget):
            template = "hello.html"
            
            def get_context(self):
                return {"hello":"world"}
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

66 / 100
Full package analysis