33 lines
557 B
Python
33 lines
557 B
Python
from django.contrib import admin
|
|
|
|
from gym.models import Room, Equipment, TheoreticalMax, Session, Round, Unit
|
|
|
|
|
|
@admin.register(Room)
|
|
class RoomAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Equipment)
|
|
class EquipmentAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(TheoreticalMax)
|
|
class TheoreticalMaxAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Session)
|
|
class SessionAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Round)
|
|
class RoundAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Unit)
|
|
class UnitAdmin(admin.ModelAdmin):
|
|
pass
|