diff --git a/painel/urls.py b/painel/urls.py index 71f1040e4..969596658 100644 --- a/painel/urls.py +++ b/painel/urls.py @@ -1,7 +1,7 @@ from django.conf.urls import include, url -from . views import (json_presenca, json_votacao, painel_view, - painel_parlamentares_view, painel_votacao_view) +from .views import (json_presenca, json_votacao, painel_parlamentares_view, + painel_view, painel_votacao_view) urlpatterns = [ url(r'^sistema/painel$', painel_view), diff --git a/painel/views.py b/painel/views.py index 8387acf93..22a89f6d0 100644 --- a/painel/views.py +++ b/painel/views.py @@ -1,13 +1,13 @@ -from django.shortcuts import render -from django.http import HttpResponse -from django.http import JsonResponse -from django.core import serializers - import json -from parlamentares.models import Parlamentar -from parlamentares.models import Filiacao -from sessao.models import SessaoPlenaria, SessaoPlenariaPresenca, PresencaOrdemDia, RegistroVotacao, VotoParlamentar, OrdemDia, PresencaOrdemDia +from django.core import serializers +from django.http import HttpResponse, JsonResponse +from django.shortcuts import render + +from parlamentares.models import Filiacao, Parlamentar +from sessao.models import (OrdemDia, PresencaOrdemDia, RegistroVotacao, + SessaoPlenaria, SessaoPlenariaPresenca, + VotoParlamentar) # REST web services