Re: Regular serializer in browsable api

2017-08-28 Thread Xavier Ordoquy
Hi, The question is a bit too opened to be answered. https://medium.com/django-rest-framework/django-rest-framework-viewset-when-you-don-t-have-a-model-335a0490ba6f may help you to

Re: Regular serializer in browsable api

2017-08-28 Thread Marlysson Silva
Can you post your Serializer? Em domingo, 27 de agosto de 2017 12:54:32 UTC-3, Ivlev Denis escreveu: > > > Hi. > I have ModelSerializer with field of regular Serializer, them not showed > in browsable api. What am I doing wrong? > -- You received this message because you are subscribed to the G

Re: How can I change error messages format in DRF?

2017-08-28 Thread Marlysson Silva
Catching the serializer.errors and format your own error container don't work? Em sexta-feira, 25 de agosto de 2017 13:19:11 UTC-3, Serge Efremov escreveu: > > This is what I do. I have a Serializer-level validator that checks the > validity of a number of fields. If they a missing or incorrect

OpenAPI Schema generation missing titlte

2017-08-28 Thread Dan Davis
Hi guys, I'm trying to understand what I would need to do to get the schema generation to include verbose_name from my model or a label from a serializer form. I'm converting the schema all the way through to to try to drive a React schema-driven form using the javascript package reach-jsons