Re: Tutorial part 7 broken (schema_title)

2016-11-14 Thread John Calcote
Don't know why no one ever completed this thread, but the solution to the problem is that the parameter is called "title" and not "schema_title". John On Saturday, July 16, 2016 at 4:09:15 PM UTC-6, Kevin Brown wrote: > > The schema feature was added in 3.4.0, so you must have (at least) that

Re: Django Rest Framework - Could not resolve URL for hyperlinked relationship using view name “field-detail”

2016-11-14 Thread Bernardo Garcia
I understand. Thanks Xavier This works for me :) On Monday, November 14, 2016 at 5:14:55 AM UTC-5, Xavier Ordoquy wrote: > > Hi, > > You declared your view as "fields" in the routers, so you should use > "fields-detail" as the view name for the hyperlink. > > Regards, > Xavier, > Linovia. > --

Re: Pagination In APIView.

2016-11-14 Thread Xavier Ordoquy
The pagination is explained at http://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination and the configuration on a per view basis is in the second part of http://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style Regards, Xavier Ordoquy,

Re: Django Rest Framework - Could not resolve URL for hyperlinked relationship using view name “field-detail”

2016-11-14 Thread Xavier Ordoquy
Hi, You declared your view as "fields" in the routers, so you should use "fields-detail" as the view name for the hyperlink. Regards, Xavier, Linovia. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group