plateforme-tfjm2/apps/tournament/admin.py

19 lines
323 B
Python

from django.contrib.auth.admin import admin
from tournament.models import Team, Tournament, Payment
@admin.register(Team)
class TeamAdmin(admin.ModelAdmin):
pass
@admin.register(Tournament)
class TournamentAdmin(admin.ModelAdmin):
pass
@admin.register(Payment)
class PaymentAdmin(admin.ModelAdmin):
pass