Browse Source

Resolve ordenacao

pull/339/head
Eduardo Calil 9 years ago
parent
commit
b8d5c539ea
  1. 3
      protocoloadm/forms.py
  2. 2
      protocoloadm/views.py

3
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

2
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

Loading…
Cancel
Save