3fefc550fe
- Django backend with DRF (clubs, wrestlers, trainers, exercises, templates, trainings, homework, locations, leistungstest) - Next.js 16 frontend with React, Shadcn UI, Tailwind - JWT authentication - Full CRUD for all entities - Calendar view for trainings - Homework management system - Leistungstest tracking
10 lines
249 B
Python
10 lines
249 B
Python
from rest_framework import serializers
|
|
from .models import Location
|
|
|
|
|
|
class LocationSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = Location
|
|
fields = '__all__'
|
|
read_only_fields = ['created_at', 'updated_at']
|