1
0
mirror of https://github.com/ae-utbm/sith.git synced 2025-02-28 02:17:12 +00:00
Sith/club/schemas.py

10 lines
162 B
Python
Raw Normal View History

from ninja import ModelSchema
from club.models import Club
class ClubSchema(ModelSchema):
class Meta:
model = Club
fields = ["id", "name"]