2014-02-26 21:08:26 +04:00
|
|
|
from rest_framework import serializers
|
2014-03-02 15:40:30 +04:00
|
|
|
from tests.models import NullableForeignKeySource
|
2014-02-26 21:08:26 +04:00
|
|
|
|
|
|
|
|
|
|
|
class NullableFKSourceSerializer(serializers.ModelSerializer):
|
|
|
|
class Meta:
|
|
|
|
model = NullableForeignKeySource
|