mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-15 14:17:22 +03:00
9 lines
337 B
Python
9 lines
337 B
Python
|
from rest_framework import generics
|
||
|
from rest_framework.tests.models import NullableForeignKeySource
|
||
|
from rest_framework.tests.serializers import NullableFKSourceSerializer
|
||
|
|
||
|
|
||
|
class NullableFKSourceDetail(generics.RetrieveUpdateDestroyAPIView):
|
||
|
model = NullableForeignKeySource
|
||
|
model_serializer_class = NullableFKSourceSerializer
|