mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 17:09:59 +03:00
Fix typo
Change Costum to Custom
This commit is contained in:
parent
fa78886581
commit
4602333f6e
|
@ -107,7 +107,7 @@ class GenericAPIView(views.APIView):
|
||||||
"""
|
"""
|
||||||
serializer_class = self.get_serializer_class()
|
serializer_class = self.get_serializer_class()
|
||||||
|
|
||||||
# Include view's costum context
|
# Include view's custom context
|
||||||
default_context = self.get_serializer_context()
|
default_context = self.get_serializer_context()
|
||||||
if 'context' in kwargs:
|
if 'context' in kwargs:
|
||||||
kwargs['context'].update(default_context)
|
kwargs['context'].update(default_context)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user