Clean up django.utils.simplejson warning.
parent
777a667d68
commit
f00f2480f1
|
@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||
from questionnaire import QuestionChoices
|
||||
import re
|
||||
from utils import split_numal
|
||||
from django.utils import simplejson as json
|
||||
import json
|
||||
from parsers import parse_checks, ParseException
|
||||
from django.conf import settings
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from questionnaire import *
|
||||
from django.utils.translation import ugettext as _, ungettext
|
||||
from django.utils.simplejson import dumps
|
||||
from json import dumps
|
||||
|
||||
@question_proc('choice', 'choice-freeform')
|
||||
def question_choice(request, question):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from questionnaire import *
|
||||
from django.conf import settings
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.simplejson import dumps
|
||||
from json import dumps
|
||||
|
||||
@question_proc('range')
|
||||
def question_range(request, question):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from questionnaire import *
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.simplejson import dumps
|
||||
from json import dumps
|
||||
|
||||
@question_proc('choice-yesno','choice-yesnocomment','choice-yesnodontknow')
|
||||
def question_yesno(request, question):
|
||||
|
|
Loading…
Reference in New Issue