Browse Source

Retirado django.utils.simplejson (p django 1.7)

TODO: refatorar para retirar o nome simplejson totalmente
producao
Marcio Mazza 10 years ago
parent
commit
5f761aabfe
  1. 3
      sigi/apps/diagnosticos/views.py
  2. 2
      sigi/apps/metas/views.py
  3. 2
      sigi/apps/servicos/views.py

3
sigi/apps/diagnosticos/views.py

@ -1,10 +1,9 @@
# -*- coding: utf8 -*- # -*- coding: utf8 -*-
import json
from itertools import cycle from itertools import cycle
from django.http import HttpResponse from django.http import HttpResponse
from django.utils import simplejson import json as simplejson # XXX trocar isso por simplesmente import json e refatorar o codigo
from django.shortcuts import render_to_response, get_object_or_404 from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext from django.template import RequestContext
from django.views.decorators.cache import never_cache from django.views.decorators.cache import never_cache

2
sigi/apps/metas/views.py

@ -4,7 +4,7 @@ import os
from django.http import HttpResponse from django.http import HttpResponse
from django.core.exceptions import PermissionDenied from django.core.exceptions import PermissionDenied
from django.utils import simplejson import json as simplejson # XXX trocar isso por simplesmente import json e refatorar o codigo
from django.utils.datastructures import SortedDict from django.utils.datastructures import SortedDict
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from django.template import RequestContext from django.template import RequestContext

2
sigi/apps/servicos/views.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from django import forms from django import forms
from django.http import HttpResponse from django.http import HttpResponse
from django.utils import simplejson import json as simplejson # XXX trocar isso por simplesmente import json e refatorar o codigo
from django.shortcuts import render_to_response, get_object_or_404 from django.shortcuts import render_to_response, get_object_or_404
from django.db.models import Q from django.db.models import Q
from sigi.apps.servicos.models import TipoServico, CasaAtendida, CasaManifesta, ServicoManifesto from sigi.apps.servicos.models import TipoServico, CasaAtendida, CasaManifesta, ServicoManifesto

Loading…
Cancel
Save