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
from django.core.management.utils import get_random_secret_key | |
print(get_random_secret_key()) |
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
Pra aqueles que tiverem algum problema com a inicialização ou finalização do serviço do PostgreSQL, aqui vai os comandos para iniciar (START) e parar (STOP) o servidor de banco de dados. | |
Para iniciar (START) o servidor de banco de dados, execute os seguintes passos: | |
1- Aperte Windows | |
2- Se for windows 7 ou superior digite cmd e aperte Enter. | |
Se não, vá em Executar e digite cmd e aperte Enter. | |
3- Após aberto o Prompt de comando do Windows - Navegue até a pasta BIN do PostgreSQL | |
Ex.: CD C:/Program Files/PostgreSQL/13/bin | |
4- Na pasta bin digite o seguinte comando |
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
[ | |
{ | |
"AllowedHeaders": [ | |
"*" | |
], | |
"AllowedMethods": [ | |
"GET", | |
"POST" | |
], | |
"AllowedOrigins": [ |