mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
10 lines
227 B
Python
10 lines
227 B
Python
from ninja import ModelSchema, Schema
|
|
|
|
from apps.achievement.models import Achievement
|
|
|
|
|
|
class AchievementSchema(ModelSchema):
|
|
class Meta:
|
|
model = Achievement
|
|
fields = ("id", "name", "description", "icon",)
|