38 lines
643 B
Python
38 lines
643 B
Python
from django.contrib import admin
|
|
|
|
from gym.models import Room, Equipment, TheoreticalMax, Session, Round, Unit, WorkForm
|
|
|
|
|
|
@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
|
|
|
|
|
|
@admin.register(WorkForm)
|
|
class WorkFormAdmin(admin.ModelAdmin):
|
|
pass
|