serializers.py 214 B

123456789
  1. from rest_framework import serializers
  2. from workreport.models import DailyReport
  3. class DailyReportSerialiser(serializers.ModelSerializer):
  4. class Meta:
  5. model = DailyReport
  6. fields = ('__all__')