-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(Structures): Nouveau modèle SiaeActivity #1261
Conversation
6f556ab
to
a7f0feb
Compare
null=True, | ||
db_index=True, | ||
) | ||
geo_range = models.CharField( |
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.
Je me demande si on devrait pas plutôt utilisé les perimeters, si on met le geo_range, ça veut dire qu'il faudrait ajouter une adresse, des structures peuvent avoir des activité à différents lieux d'intervention ^^
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.
ok
- on limitera seulement sur les périmètres CITY ?
- il faudra peut-être rajouter ce périmètre au niveau du modèle
Siae
, ou trouver un moyen simple de l'obtenir à partir de l'adresse
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.
Pourquoi tu veux limiter aux City ?
Au pire de toute façon on pourra moduler :)
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.
yes en effet, à voir quand on se servira de ces données pour la recherche, si on a besoin de restreindre le formulaire ou pas
e9f516b
to
c3b6220
Compare
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.
LGTM
null=True, | ||
db_index=True, | ||
) | ||
geo_range = models.CharField( |
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.
Pourquoi tu veux limiter aux City ?
Au pire de toute façon on pourra moduler :)
Quoi ?
Nouveau modèle
SiaeActivity
siae
sectors
qui font partie d'un mêmesector_group
presta_type
,geo_range
&geo_range_custom_distance
J'ai aussi intégré dans l'admin (SiaeActivity, et dans Siae)
Pourquoi ?
Permettre aux structures de mieux décrire leur activité (offres, secteurs...)