Re: How to see document for older version?

2018-04-11 Thread Carlton Gibson
Hi. > On 11 Apr 2018, at 07:53, HyeonChol Jang wrote: > How do I access document for the specific version? Your best bet is to build the docs locally. * Clone the repo. * Check out the 3.7.7 tag * pip install mkdocs * mkdocs build http://www.django-rest-framework.org/topics/contributing/#b

What are the best sources to learn Django rest framework

2018-04-11 Thread vallabh vyas
I am new to Django and Django rest framework. I wanted to learn more deeply please suggest some best sources to learn Django rest framework. >From there documentation i had learned basics but for my project i need some more flexibility and learning tutuorial. I am trying to build Backend + RES

Ann: django-rest-framework-datatables 0.2.1 released

2018-04-11 Thread David Jean Louis
Hello, I'm happy to announce the availability of the version 0.2.1 of django-rest-framework-datatables: https://pypi.org/project/djangorestframework-datatables/ Django-rest-framework-datatables is a third party app that provides seamless integration between Django Rest Framework and Datatables

Usage of read_only=True with default=serializers.CurrentUserDefault() in 3.8.2

2018-04-11 Thread Stuart George
Hi Ive been using the following with no issues for months, to set the default user and allow it to be sent out in the get requests: class FileSerializer(serializers.ModelSerializer): uploaded_by = serializers.PrimaryKeyRelatedField( read_only=True, default=serializers.Current

Re: Usage of read_only=True with default=serializers.CurrentUserDefault() in 3.8.2

2018-04-11 Thread Carlton Gibson
Hi Stuart. This was a breaking change in v3.8. It was necessary in order to support dotted-sources with nullable fields. (The tl;dr is that having the default set for read-only fields in these cases led to unavoidable inconsistencies, so we had to change it.) You now need to pass the value of