From 5779ed3e2334fcba2660986a1f7981bc66e8e633 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 30 Oct 2014 15:22:43 -0200 Subject: [PATCH 1/2] Fix yes/no icon broken link --- .../templates/admin/servicos/casaatendida/change_form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html b/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html index 974273e..7cae7fe 100644 --- a/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html +++ b/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html @@ -1,5 +1,6 @@ {% extends "base_change_form.html" %} {% load i18n admin_modify %} +{% load static from staticfiles %} {% block after_related_objects %} {{ block.super }} @@ -23,7 +24,8 @@

{{ srv.tipo_servico.sigla }}

{{ srv.tipo_servico }} - {{ srv.hospedagem_interlegis }} + {{ srv.hospedagem_interlegis }} {{ srv.data_ativacao|date:'SHORT_DATE_FORMAT' }} {{ srv.data_alteracao|date:'SHORT_DATE_FORMAT' }} {{ srv.data_desativacao|date:'SHORT_DATE_FORMAT' }} From 6302f632c8db9ab578096fde7301903461afe2ba Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 30 Oct 2014 16:13:21 -0200 Subject: [PATCH 2/2] Increase gunicorn timeouts To solve long response problem with all parliaments export to CSV --- bin/run_sigi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/run_sigi b/bin/run_sigi index a6ddc73..3f571d8 100755 --- a/bin/run_sigi +++ b/bin/run_sigi @@ -24,4 +24,6 @@ exec ${VENVDIR}/gunicorn ${DJANGO_WSGI_MODULE}:application \ --workers $NUM_WORKERS \ --user=$USER --group=$GROUP \ --log-level=debug \ +--timeout=180 \ +--graceful-timeout=180 \ --bind=unix:$SOCKFILE