-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
envergo/moulinette/models.py
Outdated
@@ -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" |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nickel
envergo/moulinette/models.py
Outdated
@@ -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" |
There was a problem hiding this comment.
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.
ce ticket