-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Besoins): Mise à jour de la deuxième question pour la mesure d'i…
…mpact (#1296)
- Loading branch information
1 parent
e7c1ef5
commit 0e8c240
Showing
10 changed files
with
118 additions
and
64 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
""" | ||
Enums fields used in Tender models. | ||
""" | ||
|
||
from django.db import models | ||
|
||
|
||
class SurveyScaleQuestionChoices(models.TextChoices): | ||
NON = "0", "Non" | ||
PEU_PROBABLE = "1", "Peu probablement" | ||
TRES_PROBABLE = "2", "Très probablement" | ||
OUI = "3", "Oui" | ||
|
||
|
||
class SurveyDoesNotExistQuestionChoices(models.TextChoices): | ||
DONT_KNOW = "DK", "Je ne sais pas" | ||
INTERNET_SEARCH = "IS", "Recherche sur Internet (Google, page jaune, recherche sur le web)" | ||
NETWORKS = "NW", "Réseaux professionnels et partenariats" | ||
DIRECTORY = "DI", "Annuaire spécialisé (GESAT, UNEA, Handeco)" | ||
RECOMMENDATIONS = ( | ||
"RC", | ||
"Recommandations et bouche-à-oreille (Réseaux sociaux, recommandations personnelles, collègues)", | ||
) | ||
KNOWN_PROVIDERS = "KP", "Prestataires connus et habituels (Fournisseurs actuels)" | ||
PUBLIC_TENDERS = "PT", "Appel d'offres et consultations publiques (BOAMP, JOUE, AWS, appels d'offres)" | ||
FACILITATORS = "FA", "Facilitateurs de clauses sociales" | ||
LOCAL_SOURCING = ( | ||
"LS", | ||
"Sourcing local et salons professionnels (Recherche locale, salons, événements professionnels)", | ||
) |
45 changes: 45 additions & 0 deletions
45
lemarche/tenders/migrations/0089_tender_le_marche_doesnt_exist_how_to_find_siae.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 4.2.13 on 2024-06-26 15:11 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tenders", "0088_alter_tender_contact_phone"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="tender", | ||
name="le_marche_doesnt_exist_how_to_find_siae", | ||
field=models.CharField( | ||
choices=[ | ||
("DK", "Je ne sais pas"), | ||
("IS", "Recherche sur Internet (Google, page jaune, recherche sur le web)"), | ||
("NW", "Réseaux professionnels et partenariats"), | ||
("DI", "Annuaire spécialisé (GESAT, UNEA, Handeco)"), | ||
( | ||
"RC", | ||
( | ||
"Recommandations et bouche-à-oreille (Réseaux sociaux, " | ||
"recommandations personnelles, collègues)" | ||
), | ||
), | ||
("KP", "Prestataires connus et habituels (Fournisseurs actuels)"), | ||
("PT", "Appel d'offres et consultations publiques (BOAMP, JOUE, AWS, appels d'offres)"), | ||
("FA", "Facilitateurs de clauses sociales"), | ||
( | ||
"LS", | ||
( | ||
"Sourcing local et salons professionnels (Recherche locale, " | ||
"salons, événements professionnels)" | ||
), | ||
), | ||
], | ||
default="DK", | ||
help_text="Comment auriez-vous fait pour consulter des prestataires inclusifs ?", | ||
max_length=2, | ||
verbose_name="Sans le marché de l'inclusion", | ||
), | ||
), | ||
] |
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
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
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
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
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