Browse Source

Ajusta import triplicado

pull/1416/head
Marcio Mazza 7 years ago
parent
commit
0877f6c6a2
  1. 9
      sapl/redireciona_urls/views.py

9
sapl/redireciona_urls/views.py

@ -1,17 +1,19 @@
from .exceptions import UnknownUrlNameError
from django.core.urlresolvers import NoReverseMatch, reverse from django.core.urlresolvers import NoReverseMatch, reverse
from django.views.generic import RedirectView from django.views.generic import RedirectView
from sapl.base.apps import AppConfig as atasConfig from sapl.base.apps import AppConfig as atasConfig
from sapl.base.apps import AppConfig as presenca_sessaoConfig
from sapl.base.apps import AppConfig as relatoriosConfig
from sapl.comissoes.apps import AppConfig as comissoesConfig from sapl.comissoes.apps import AppConfig as comissoesConfig
from sapl.materia.apps import AppConfig as materiaConfig from sapl.materia.apps import AppConfig as materiaConfig
from sapl.norma.apps import AppConfig as normaConfig from sapl.norma.apps import AppConfig as normaConfig
from sapl.parlamentares.apps import AppConfig as parlamentaresConfig from sapl.parlamentares.apps import AppConfig as parlamentaresConfig
from sapl.sessao.apps import AppConfig as sessaoConfig from sapl.sessao.apps import AppConfig as sessaoConfig
from .exceptions import UnknownUrlNameError
EMPTY_STRING = '' EMPTY_STRING = ''
presenca_sessaoConfig = relatoriosConfig = atasConfig
app_parlamentares = parlamentaresConfig.name app_parlamentares = parlamentaresConfig.name
app_atas = atasConfig.name app_atas = atasConfig.name
app_presenca_sessao = presenca_sessaoConfig.name app_presenca_sessao = presenca_sessaoConfig.name
@ -50,7 +52,6 @@ relatorio_materia_por_ano_autor_tipo = (
historico_tramitacoes = (app_relatorios + ':historico_tramitacoes') historico_tramitacoes = (app_relatorios + ':historico_tramitacoes')
def has_iframe(url, request): def has_iframe(url, request):
iframe = request.GET.get( iframe = request.GET.get(

Loading…
Cancel
Save