From 5b55304f47d2898e0a0a6447061217997dbf71fe Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Thu, 25 Feb 2016 12:10:35 -0300 Subject: [PATCH] Muda a versao do Django de 1.8 para 1.9 --- requirements/requirements.txt | 2 +- sessao/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 7d80a904d..a09461be4 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -8,7 +8,7 @@ django-extra-views django-model-utils django-sass-processor django-vanilla-views -django<1.9 +django==1.9 djangorestframework git+git://github.com/interlegis/trml2pdf.git libsass diff --git a/sessao/views.py b/sessao/views.py index 5eb0e6924..35e2755f2 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -3,7 +3,7 @@ from re import sub from django.core.exceptions import ObjectDoesNotExist from django.core.urlresolvers import reverse -from django.forms.util import ErrorList +from django.forms.utils import ErrorList from django.utils.html import strip_tags from django.utils.translation import ugettext_lazy as _ from django.views.generic import ListView