From 7dac9a1848bf0c25b94c0305e309cf6db03feffc Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 13 Aug 2015 15:13:13 -0300 Subject: [PATCH] Adjust imports sort order Used: isort --skip='migrations' --skip='ipython_log.py' -rc . --- painel/urls.py | 4 ++-- painel/views.py | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) 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