Upcoming 2.3 release.

107 views
Skip to first unread message

Tom Christie

unread,
May 2, 2013, 8:15:10 AM5/2/13
to django-res...@googlegroups.com
The 2.3 release of REST framework is almost good to go, and I'm planning on pushing it live next week.

It introduces viewsets and routers, which are similar to Rail's controllers, and feel to me at least like a natural extension to the existing class-based views.

Using viewsets makes it incredible quick and easy to build new APIs, and having had a while to try it out for size, I'm really pleased with how it all feels.

You can take a look, here.

The bits of most interest are the 2.3 release notes, the new section in the tutorial, the viewset and router API guides.  The generic views have also been simplified a little, with the documentation for GenericAPIView being improved as a result of that.  Finally it's also worth noting that ModelSerializers are now a little easier to use, as reverse relationships can just be added to the `fields` attribute and will be automatically generated, rather than having to specify the related fields explicitly on the serializer.

If anyone fancies giving it a whirl and reporting any show-stopping issues that'd be a great help.

I'm particularly interested in any actionable thoughts on how part 6 of the tutorial hangs together, and any tweaks that should be made there.

There's also a chance that Mark Shirley's work on writable nested serializers might make it into the 2.3 release, if I feel I've had enough time to write some docs and properly review it.  Again, any feedback on how important this to you is appreciated.  If it's something folks are crying out for it's more likely to make the cut before I push the release.

Thanks all,

   Tom

Stephan Groß

unread,
May 2, 2013, 9:53:10 AM5/2/13
to django-res...@googlegroups.com
awesome! thanks

Süleyman Melikoğlu

unread,
May 5, 2013, 1:57:23 PM5/5/13
to django-res...@googlegroups.com
Thank you for the great work! I really like this framework and it's a great tool for my projects.

Routers are great but I don't think I'll use them. I like old-school url declarations. But it'd be handy for most of the people. 

Paul Walsh

unread,
May 7, 2013, 4:53:12 AM5/7/13
to django-res...@googlegroups.com
Hi, I am "crying out" for writable nested serializers :).

Robert M

unread,
May 7, 2013, 8:40:10 AM5/7/13
to django-res...@googlegroups.com
Tom, seems like you are uploading a new release at the moment.

Thanks!
Reply all
Reply to author
Forward
0 new messages