mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
9 lines
227 B
Python
9 lines
227 B
Python
from rest_framework import serializers
|
|
|
|
from rest_framework.tests.models import NullableForeignKeySource
|
|
|
|
|
|
class NullableFKSourceSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = NullableForeignKeySource
|