From 2531ddf919e4b3e8d1f4b5261bb5894b844d7f2d Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Fri, 6 Mar 2026 10:20:32 -0300 Subject: [PATCH 1/2] fix(vpc): remove reverse_url template to custom oauth for candidatures --- .../votepeloclima/templates/votepeloclima/base.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html b/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html index 9174e676..48eee3d4 100644 --- a/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html +++ b/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html @@ -37,13 +37,7 @@
{% block navbar_actions %} - {% if request.user.is_authenticated %} - Área da Candidatura - Sair - {% else %} - Cadastre-se - Login - {% endif %} + {% endblock %}
From a48562eb0299ba12fb43ed2d7f378375e1f8ed94 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Fri, 6 Mar 2026 10:43:33 -0300 Subject: [PATCH 2/2] fix(vpc): upgrade Debian version to 11 on docker build --- app/org_eleicoes/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/org_eleicoes/Dockerfile b/app/org_eleicoes/Dockerfile index bad842b3..53f42673 100644 --- a/app/org_eleicoes/Dockerfile +++ b/app/org_eleicoes/Dockerfile @@ -13,8 +13,8 @@ RUN npm run page:build RUN npm run admin:build -# Use an official Python runtime based on Debian 10 "buster" as a parent image. -FROM python:slim-buster +# Use an official Python runtime based on Debian 11 "bullseye" as a parent image. +FROM python:slim-bullseye # Port used by this container to serve HTTP. EXPOSE 8000