Skip to content

Commit

Permalink
Updated for comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlton Gibson committed Dec 15, 2014
1 parent 2989876 commit 0b6180b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
djangorestframework==3.0.0
djangorestframework
django==1.7.1
Pygments==1.5
Markdown==2.2.0
Expand Down
1 change: 0 additions & 1 deletion snippets/permissions.py
Expand Up @@ -13,4 +13,3 @@ def has_object_permission(self, request, view, obj):

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

1 change: 0 additions & 1 deletion snippets/views.py
Expand Up @@ -35,7 +35,6 @@ def highlight(self, request, *args, **kwargs):
def perform_create(self, serializer):
serializer.save(owner=self.request.user)


class UserViewSet(viewsets.ReadOnlyModelViewSet):
"""
This endpoint presents the users in the system.
Expand Down

0 comments on commit 0b6180b

Please sign in to comment.