From 3885e4e82e4a3cc8b555afbf4166824420def8fe Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Tue, 8 Nov 2016 10:40:24 -0200 Subject: [PATCH] adiciona imports faltando --- sapl/norma/urls.py | 2 +- sapl/norma/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/norma/urls.py b/sapl/norma/urls.py index 541abf125..615eae0ce 100644 --- a/sapl/norma/urls.py +++ b/sapl/norma/urls.py @@ -1,7 +1,7 @@ from django.conf.urls import include, url from sapl.norma.views import (AssuntoNormaCrud, NormaCrud, NormaPesquisaView, - TipoNormaCrud) + TipoNormaCrud, NormaTaView) from .apps import AppConfig diff --git a/sapl/norma/views.py b/sapl/norma/views.py index 1cf1afaf2..78636f792 100644 --- a/sapl/norma/views.py +++ b/sapl/norma/views.py @@ -2,6 +2,7 @@ from datetime import datetime from django.core.urlresolvers import reverse from django.shortcuts import redirect +from django.utils.translation import ugettext_lazy as _ from django.views.generic import FormView, ListView from django.views.generic.base import RedirectView from django_filters.views import FilterView