Last Comment Bug 875540 - Set up a tastypie - django REST framework compatability layer
: Set up a tastypie - django REST framework compatability layer
Product: Marketplace
Classification: Server Software
Component: API (show other bugs)
: 1.0
: x86 Mac OS X
P3 normal (vote)
: 2013-06-06
Assigned To: Andy McKay [:andym]
Depends on:
  Show dependency treegraph
Reported: 2013-05-23 15:48 PDT by Andy McKay [:andym]
Modified: 2013-06-03 12:05 PDT (History)
2 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Andy McKay [:andym] 2013-05-23 15:48:57 PDT
Set up a tastypie - django-rest-framework compatibility layer so that we can transparently swap out things and plonk in rest-framework.

This means making the:
- paginator
- 500 errors
- 400 form errors

The same between the two.

And finally write some docs and examples for developer so they know what to do.
Comment 1 User image Matt Basta [:basta] 2013-05-23 16:06:26 PDT
Perhaps it would be better to make a v2 of the API and port the functionality of each endpoint over one by one? If we're moving to DRF, it would be simpler on the front-end to port one view at a time than it would be to port one feature at a time. I'd think that it would make a lot of things cleaner in the long run, as well. Thoughts?
Comment 2 User image Andy McKay [:andym] 2013-05-23 17:00:22 PDT
Once the layer is in place its a matter of porting one view at a time. If would rather do this and have it be transparent for solitude, curling and everything else too. And I did most of it on the plane last week.
Comment 3 User image Andy McKay [:andym] 2013-05-27 13:04:13 PDT

Start for solitude, will port over.
Comment 4 User image Andy McKay [:andym] 2013-06-03 10:40:35 PDT
Comment 5 User image Andy McKay [:andym] 2013-06-03 12:05:51 PDT

Note You need to log in before you can comment on or make changes to this bug.