1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-11-27 03:33:01 +00:00
plateforme-tfjm2/apps/tournament/admin.py
2020-05-11 14:08:19 +02:00

32 lines
556 B
Python

from django.contrib.auth.admin import admin
from .models import Team, Tournament, Pool, Payment
@admin.register(Team)
class TeamAdmin(admin.ModelAdmin):
"""
Django admin page for teams.
"""
@admin.register(Tournament)
class TournamentAdmin(admin.ModelAdmin):
"""
Django admin page for tournaments.
"""
@admin.register(Pool)
class PoolAdmin(admin.ModelAdmin):
"""
Django admin page for pools.
"""
@admin.register(Payment)
class PaymentAdmin(admin.ModelAdmin):
"""
Django admin page for payments.
"""