-
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(Activités des structures): Ajout du choix du périmètre d'interve…
…ntion aux niveaux des activités (#1457)
- Loading branch information
1 parent
a06e89a
commit 8dc6f66
Showing
13 changed files
with
542 additions
and
66 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
39 changes: 39 additions & 0 deletions
39
...che/siaes/migrations/0077_remove_siaeactivity_location_siaeactivity_locations_and_more.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,39 @@ | ||
# Generated by Django 4.2.15 on 2024-10-07 14:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("perimeters", "0005_alter_perimeter_post_codes"), | ||
("siaes", "0076_siaeactivity"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="siaeactivity", | ||
name="location", | ||
), | ||
migrations.AddField( | ||
model_name="siaeactivity", | ||
name="locations", | ||
field=models.ManyToManyField( | ||
blank=True, related_name="siae_activities", to="perimeters.perimeter", verbose_name="Localisations" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="siaeactivity", | ||
name="geo_range", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("COUNTRY", "France entière"), | ||
("CUSTOM", "Distance en kilomètres"), | ||
("ZONES", "Zone(s) d'intervention personnalisée(s)"), | ||
], | ||
db_index=True, | ||
max_length=20, | ||
verbose_name="Périmètre d'intervention", | ||
), | ||
), | ||
] |
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
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
Oops, something went wrong.