Skip to content

Commit 7dab083

Browse files
committed
flake8
1 parent 721423c commit 7dab083

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rest_framework_json_api/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,14 @@ def get_related_instance(self):
238238
except AttributeError:
239239
raise NotFound
240240

241+
241242
class ValidHTTPMethodsMixin(object):
242243
"""
243244
JSONAPI does not define methods like PUT and TRACE
244245
"""
245246
http_method_names = ['get', 'post', 'patch', 'delete', 'head', 'options']
246247

248+
247249
class ModelViewSet(AutoPrefetchMixin,
248250
PreloadIncludesMixin,
249251
RelatedMixin,

0 commit comments

Comments
 (0)