Closed Bug 576113 Opened 14 years ago Closed 10 years ago

[k] Stick an application/x-json const somewhere

Categories

(support.mozilla.org :: Code Quality, task, P4)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: erik, Unassigned)

Details

I find myself typing mimetype='application/x-json' a lot, and I am a teribble speller.
Not related to KB => out of 2.3.
Target Milestone: 2.3 → ---
We should probably use JsonResponse instead once we get to django 1.7 and python 2.7 and we find the cure cancer:

https://docs.djangoproject.com/en/dev/ref/request-response/#jsonresponse-objects
I don't think we really need a bug for this. Lets just write better code in the future.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.