plateforme-tfjm2/apps/tournament/admin.py

24 lines
397 B
Python

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