-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37a6ea3
commit 8d2edf3
Showing
10 changed files
with
40 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,7 +214,7 @@ Onde: | |
|
||
* Você deve preencher os dados do banco de dados | ||
* Para desenvolvimento, deixe as opções ``DEBUG`` e ``DJANGO_TOOLBAR`` em True | ||
* Informe os dados do servidor de e-mail | ||
* Informe os dados do servidor de e-mail - ao menos a porta. Não é possível gerar a chave secreta sem que a porta esteja informada. | ||
* Preencha os dados da Câmara. Os mesmos serão utilizados no cabeçalho e rodapé da página. Além disto, informe corretamente o seu município e a UF, de forma ao sistema carregar corretamente os campos que dependem dessas informações | ||
* Caso você queria usar um brasão próprio na barra superior, coloque-o na pasta ``/var/interlegis/saap/saap/static/img``, com o nome de ``brasao-camara.png`` e ative com True. Deixando como False, o brasão exibido será o da República. | ||
|
||
|
@@ -229,20 +229,20 @@ Como exemplo de arquivo ``.env``, veja: | |
SITE_NAME='Sistema de Apoio à Atividade Parlamentar' | ||
SITE_DOMAIN='saap.camaranh.rs.gov.br' | ||
EMAIL_USE_TLS=True | ||
EMAIL_PORT= | ||
EMAIL_PORT=25 | ||
EMAIL_HOST= | ||
EMAIL_SEND_USER= | ||
EMAIL_HOST_USER= | ||
EMAIL_HOST_PASSWORD= | ||
DADOS_NOME='Câmara Municipal de Novo Hamburgo' | ||
DADOS_ENDERECO='Rua Almirante Barroso, 261' | ||
DADOS_MUNICIPIO='Novo Hamburgo' | ||
DADOS_UF='RS' | ||
DADOS_CEP='93510-290' | ||
DADOS_EMAIL='[email protected].br' | ||
DADOS_TELEFONE='(51) 3594-0500' | ||
DADOS_SITE='portal.camaranh.rs.gov.br' | ||
BRASAO_PROPRIO=True | ||
DADOS_NOME='Câmara Municipal do Interlegis' | ||
DADOS_ENDERECO='Av. N2, Bloco E - Senado Federal' | ||
DADOS_MUNICIPIO='Brasília' | ||
DADOS_UF='DF' | ||
DADOS_CEP='70165-900' | ||
DADOS_EMAIL='[email protected].br' | ||
DADOS_TELEFONE='(61) 3303-3221' | ||
DADOS_SITE='interlegis.leg.br' | ||
BRASAO_PROPRIO=False | ||
|
||
7) Corrigir problemas de configuração em alguns pacotes | ||
----------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "base.html" %} | ||
{% load i18n%} | ||
|
||
{% block title %} | ||
<meta http-equiv="refresh" content="3;url=/" /> | ||
<center><h1>{% trans "Página não encontrada!" %}</h1></center> | ||
{% endblock %} | ||
|
||
{% block base_content %} | ||
<div class="alert alert-danger text-"> | ||
<h3> | ||
{{ exception }} | ||
</h3> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters