mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
8 lines
211 B
Python
8 lines
211 B
Python
from rest_framework import serializers
|
|
from tests.models import NullableForeignKeySource
|
|
|
|
|
|
class NullableFKSourceSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = NullableForeignKeySource
|