All users were logged out of Bugzilla on October 13th, 2018

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

RESOLVED INVALID

Status

P4
enhancement
RESOLVED INVALID
8 years ago
5 years ago

People

(Reporter: erik, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.