diff --git a/protocoloadm/forms.py b/protocoloadm/forms.py index dc65e9589..981aae3f0 100644 --- a/protocoloadm/forms.py +++ b/protocoloadm/forms.py @@ -1,3 +1,4 @@ +import django_filters from crispy_forms.bootstrap import InlineRadios from crispy_forms.helper import FormHelper from crispy_forms.layout import HTML, Button, Field, Fieldset, Layout, Submit @@ -9,8 +10,6 @@ from django.utils.translation import ugettext_lazy as _ import crispy_layout_mixin import sapl -import django_filters - from crispy_layout_mixin import form_actions from materia.models import Autor from sapl.utils import RANGE_ANOS diff --git a/protocoloadm/views.py b/protocoloadm/views.py index 7bdf59fe2..abdd4d747 100644 --- a/protocoloadm/views.py +++ b/protocoloadm/views.py @@ -2,7 +2,7 @@ import json from datetime import date, datetime from braces.views import FormValidMessageMixin -from django.core.urlresolvers import reverse, reverse_lazy +from django.core.urlresolvers import reverse from django.db.models import Q, Max from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import redirect