Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec5784a

Browse files
author
i.donchev
committed
Remove empty get_object method from RetrieveOrganisationView
1 parent 77613fe commit ec5784a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

‎demo/project/organisations/views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ class RetrieveOrganisationView(generics.RetrieveAPIView):
1010

1111
serializer_class = RetrieveOrganisationSerializer
1212

13-
def get_object(self):
14-
pass
15-
1613

1714
class CreateOrganisationView(generics.CreateAPIView):
1815

‎tests/views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,3 @@ def test_route(self, request):
149149
class RetrieveOrganisationView(generics.RetrieveAPIView):
150150

151151
serializer_class = serializers.RetrieveOrganisationSerializer
152-
153-
def get_object(self):
154-
pass

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /