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

Fléchage du département à la place du simulateur sur la home (GUH - V1.3) #435

Merged
merged 36 commits into from
Oct 8, 2024

Conversation

pyDez
Copy link
Collaborator

@pyDez pyDez commented Sep 30, 2024

@pyDez pyDez requested a review from thibault October 1, 2024 14:55
Copy link
Collaborator

@thibault thibault left a comment

Choose a reason for hiding this comment

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

J'ai laissé une ou deux questions, sinon Nickel !

envergo/moulinette/models.py Outdated Show resolved Hide resolved
@@ -709,6 +710,39 @@ def __str__(self):
return self.department.get_department_display()


class HaieDepartmentConfig(models.Model):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question : est-ce que tu as considéré le fait d'avoir un objet commun dont hériteraient les objets config pour aménagement et haie ?

Ici, on a un objet MoulinetteConfig qui ne sert que pour aménagement tandis que HaieDepartementConfig sert pour haie. J'ai l'impression qu'on manque un peu de cohérence dans le nommage des classes, qu'en penses-tu ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

(pour l'historique : vu en discussion privée)

envergo/moulinette/models.py Show resolved Hide resolved
envergo/moulinette/models.py Outdated Show resolved Hide resolved
envergo/moulinette/models.py Show resolved Hide resolved
envergo/pages/templatetags/pages.py Outdated Show resolved Hide resolved
envergo/pages/templatetags/pages.py Outdated Show resolved Hide resolved
@pyDez pyDez merged commit 6f4a1ee into main Oct 8, 2024
5 checks passed
@pyDez pyDez deleted the feature/guh-v1.3 branch October 8, 2024 09:53
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