add comments here
This commit is contained in:
@@ -4,10 +4,12 @@ from rest_framework import generics
|
||||
|
||||
|
||||
class SnippetList(generics.ListCreateAPIView):
|
||||
# Add comments here
|
||||
queryset = Snippet.objects.all()
|
||||
serializer_class = SnippetSerializer
|
||||
|
||||
|
||||
class SnippetDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
# Add comments here
|
||||
queryset = Snippet.objects.all()
|
||||
serializer_class = SnippetSerializer
|
||||
Reference in New Issue
Block a user