Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit profile #60

Merged
merged 5 commits into from
Jan 9, 2025
Merged

Edit profile #60

merged 5 commits into from
Jan 9, 2025

Conversation

GonzzaG
Copy link
Collaborator

@GonzzaG GonzzaG commented Jan 8, 2025

No description provided.

@@ -128,7 +129,7 @@
'USER': os.getenv('POSTGRES_USERNAME', 'root'),
'PASSWORD': os.getenv('POSTGRES_PASSWORD', 'example'),
'HOST': os.getenv('POSTGRES_HOST', '127.0.0.1'),
'PORT': os.getenv('POSTGRES_PORT', 5432),
'PORT': os.getenv('POSTGRES_PORT', 5433),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ojo con este tipo de pushs! Dejar el puerto por default o le va a explotar a todos

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

si fue mala mia. Lo arreglé en el otro commit que pushee con este, se hizo?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nop, no aparece! En el commit que hiciste corregiste el docker-compose.dev.yml, pero no este!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahora si, disculpame. No me aparecia el cambio en ese archivo.

@@ -151,6 +152,8 @@
},
]

MIN_PASSWORD_LEN: int = 8
Copy link
Member

@Genarito Genarito Jan 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No dejar hardcodeado! Sacar de las variables de entorno (las variables de entorno son aquellas que se setean desde el docker-compose.yml y nos permite parametrizar el sistema sin cambiar el código). Hacer como se hace más abajo en este archivo con la variable N_JOBS_RF. Fijate que la obtenemos con os.getenv, le ponemos un valor por defecto y lo casteamos a entero, hacer lo mismo acá

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Listo!

@@ -0,0 +1,3 @@
from django.db import models
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No dejar ninguna línea en este archivo, así no se importa models al pedo ralentizando el inicio del sistema

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eliminadoo

@Genarito Genarito merged commit 2e01e5e into v5.0.0 Jan 9, 2025
1 check passed
@Genarito Genarito deleted the edit-profile branch January 9, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants