Closed
Bug 875540
Opened 12 years ago
Closed 12 years ago
Set up a tastypie - django REST framework compatability layer
Categories
(Marketplace Graveyard :: API, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-06-06
People
(Reporter: andy+bugzilla, Assigned: andy+bugzilla)
Details
(Whiteboard: [qa-])
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.
Updated•12 years ago
|
Summary: Setup a tastypie - django rest framework → Set up a tastypie - django rest framework
Updated•12 years ago
|
Summary: Set up a tastypie - django rest framework → Set up a tastypie - django REST framework
Comment 1•12 years ago
|
||
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?
Assignee | ||
Comment 2•12 years ago
|
||
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.
Summary: Set up a tastypie - django REST framework → Set up a tastypie - django REST framework compatability layer
Assignee | ||
Comment 3•12 years ago
|
||
r? https://github.com/mozilla/solitude/pull/94
Start for solitude, will port over.
Updated•12 years ago
|
Target Milestone: 2013-05-30 → ---
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 2013-06-06
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•