backend/links/serializers.py

10 lines
187 B
Python
Raw Normal View History

2023-11-22 16:01:05 +03:00
from rest_framework import serializers
from links.models import Link
class LinkSerializer(serializers.ModelSerializer):
class Meta:
model = Link
fields = '__all__'