aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/views.py')
-rw-r--r--rest_framework/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/views.py b/rest_framework/views.py
index 1af4c0ba..1c4854f0 100644
--- a/rest_framework/views.py
+++ b/rest_framework/views.py
@@ -68,9 +68,9 @@ class APIView(View):
return content
def _generate_action_metadata(self, request):
- '''
+ """
Helper for generating the fields metadata for allowed and permitted methods.
- '''
+ """
actions = {}
for method in self.allowed_methods:
# skip HEAD and OPTIONS