Commit a6599416 authored by amandazk's avatar amandazk

Removendo pedido de permissão de create

parent 4925d213
......@@ -32,9 +32,8 @@ class PessoaCreate(generics.CreateAPIView):
"""Criando pessoa"""
queryset = Pessoa.objects.all()
serializer_class = PessoaSerializer
permission_classes = (
permissions.DjangoModelPermissions,
)
permission_classes = ()
class PessoaGet(generics.RetrieveAPIView):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment