remove extraneous OPTIONS content re: the new named URL feature

This commit is contained in:
Ryan Petrello
2018-08-15 10:20:51 -04:00
parent 59f246d297
commit 3b997cdd3a
5 changed files with 0 additions and 17 deletions

View File

@@ -390,7 +390,6 @@ class GenericAPIView(generics.GenericAPIView, APIView):
]:
d[key] = self.metadata_class().get_serializer_info(serializer, method=method)
d['settings'] = settings
d['has_named_url'] = self.model in settings.NAMED_URL_GRAPH
return d