from django.contrib import admin from .models import Stanoviste, Tym, Zadost admin.site.register(Stanoviste) admin.site.register(Zadost) class TymAdmin(admin.ModelAdmin): # fields = ["user", "nazev", "hraci", "start"] pass admin.site.register(Tym, TymAdmin)