Skip to content

Commit 0b6180b

Browse files
author
Carlton Gibson
committed
Updated for comments.
1 parent 2989876 commit 0b6180b

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
djangorestframework==3.0.0
1+
djangorestframework
22
django==1.7.1
33
Pygments==1.5
44
Markdown==2.2.0

snippets/permissions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ def has_object_permission(self, request, view, obj):
1313

1414
# Write permissions are only allowed to the owner of the snippet
1515
return obj.owner == request.user
16-

snippets/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def highlight(self, request, *args, **kwargs):
3535
def perform_create(self, serializer):
3636
serializer.save(owner=self.request.user)
3737

38-
3938
class UserViewSet(viewsets.ReadOnlyModelViewSet):
4039
"""
4140
This endpoint presents the users in the system.

0 commit comments

Comments
 (0)