Last active
April 8, 2021 20:19
-
-
Save ewelina29/86f4492aa832fe65aa20c4aa6316aa16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PizzaAPIView(generics.ListCreateAPIView): | |
serializer_class = PizzaSerializer | |
queryset = Pizza.objects.all() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment