Browse Source

Remove unused code

pull/7/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
4bd37edd3e
  1. 5
      sessao/views.py

5
sessao/views.py

@ -774,11 +774,6 @@ class ExpedienteView(FormMixin, sessao_crud.CrudDetailView):
context.update({'expedientes': expedientes}) context.update({'expedientes': expedientes})
return self.render_to_response(context) return self.render_to_response(context)
def get_tipos(self):
tipos = TipoExpediente.objects.all()
for t in tipos:
yield (t.nome, t.id)
def get_success_url(self): def get_success_url(self):
pk = self.kwargs['pk'] pk = self.kwargs['pk']
return reverse('sessaoplenaria:expediente', kwargs={'pk': pk}) return reverse('sessaoplenaria:expediente', kwargs={'pk': pk})

Loading…
Cancel
Save