django-rest-framework/tests/serializers.py
2014-08-19 13:28:07 +01:00

8 lines
211 B
Python

from rest_framework import serializers
from tests.models import NullableForeignKeySource
class NullableFKSourceSerializer(serializers.ModelSerializer):
class Meta:
model = NullableForeignKeySource