tasks.py 204 B

1234567
  1. from rest_framework import serializers
  2. from webservice_running.models import Tasks
  3. class TasksSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Tasks
  6. exclude = ["id"]