Repozitář maturitního projektu IVE. Vozítko ovládané přes internet, které sbírá data z modulů.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
523 B

from django.contrib import admin
from .models import Command, CommandExecution, Module, ModuleValue
class CommandAdmin(admin.ModelAdmin):
list_display = ['system_name', 'name', 'description', 'flag']
class CommandExecutionAdmin(admin.ModelAdmin):
list_display = ['id', 'command', 'timestamp', 'state', 'result', 'note']
# Register your models here.
admin.site.register(Command, CommandAdmin)
admin.site.register(CommandExecution, CommandExecutionAdmin)
admin.site.register(Module)
admin.site.register(ModuleValue)