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

Intégration Démarches Simplifiées dans le parcours pétitionnaire (DS 1) #445

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

pyDez
Copy link
Collaborator

@pyDez pyDez commented Oct 4, 2024

@pyDez pyDez requested a review from thibault October 4, 2024 10:05
@@ -1420,6 +1420,11 @@ def get_extra_context(cls, request):
context = {}
form_data = request.GET
context["triage_url"] = update_qs(reverse("triage"), form_data)

context["demarche_url"] = (
"https://www.demarches-simplifiees.fr/commencer/test-declaration-de-travaux-sur-haies"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Il faudra sans doute stocker ce lien ailleurs, mais je pense que tout cela va bouger dans les semaines à venir donc j'attends de voir :

  • y'en aura t'il plusieurs ?
  • faut-il pouvoir les modifier depuis la config ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ça ne me semble effectivement pas très propre d'avoir cette url en dur. Ça ne me semblerait pas délirant de la déporter dans les settings.

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.

Nickel

@@ -1420,6 +1420,11 @@ def get_extra_context(cls, request):
context = {}
form_data = request.GET
context["triage_url"] = update_qs(reverse("triage"), form_data)

context["demarche_url"] = (
"https://www.demarches-simplifiees.fr/commencer/test-declaration-de-travaux-sur-haies"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ça ne me semble effectivement pas très propre d'avoir cette url en dur. Ça ne me semblerait pas délirant de la déporter dans les settings.

@pyDez pyDez merged commit d0ee284 into main Oct 8, 2024
2 of 5 checks passed
@pyDez pyDez deleted the feature/ds-1 branch October 8, 2024 09:56
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