Automatically generate POST parameter form

2017-11-06 Thread Benjamin Van Renterghem
About this issue I opened: https://github.com/encode/django-rest-framework/issues/5570 I still don't understand how exactly I can get automatic POST parameter form generation using the built-in documentation. What I want is the form in the interaction screen, but also this on the main page:

Django rest framework serializer.save() return “Invalid data. Expected a dictionary, but got group”

2017-11-06 Thread Gary Ng
There is a route /group/task, every time it is called, the log will be generated. This is views.py class GroupViewSet(viewsets.ViewSet): @detail_route(methods=['post'], url_path='task') def get_task(self, request, pk=None): group = get_object_or_404(G

Django REST Framework v3.7.3 Released.

2017-11-06 Thread Carlton Gibson
It's all go today! Django REST Framework v 3.7.2 introduced an `AppRegistryNotReady` error importing the contrib.auth views. This is was speedily reported and resolved. v3.7.3 is no available on PyPI. Enjoy. Kind Regards, Carlton -- You received this message because you are subscribed t

Django REST Framework v3.7.2 Released

2017-11-06 Thread Carlton Gibson
Hi All. Django REST Framework v3.7.2 is available now. https://github.com/encode/django-rest-framework/releases Enjoy. Kind Regards, Carlton -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop