From 6295a9d3c8aa9ed82be1d173c6c3016a493c5b6c Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 14 Apr 2016 10:50:40 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20c=C3=B3digo=20desnecess=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sessao/views.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sessao/views.py b/sessao/views.py index ae334ef2c..e6a1cb36d 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -3,7 +3,7 @@ from re import sub from django.contrib import messages from django.core.exceptions import ObjectDoesNotExist -from django.core.urlresolvers import reverse, reverse_lazy +from django.core.urlresolvers import reverse from django.forms.utils import ErrorList from django.utils.html import strip_tags from django.utils.translation import ugettext_lazy as _ @@ -50,11 +50,6 @@ class SessaoCrud(Crud): model = SessaoPlenaria help_path = 'sessao_plenaria' - class CreateView(crud.base.CrudCreateView): - - def get_success_url(self): - return reverse_lazy('sessao:sessaoplenaria_list') - class PresencaMixin: