OpenDroneMap-WebODM/nodeodm/admin.py

10 wiersze
273 B
Python

from django.contrib import admin
from guardian.admin import GuardedModelAdmin
from .models import ProcessingNode
class ProcessingNodeAdmin(GuardedModelAdmin):
fields = ('hostname', 'port', 'token', 'label', )
admin.site.register(ProcessingNode, ProcessingNodeAdmin)